Skip to content

Commit

Permalink
Vignette - file input
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedran Franke authored and Vedran Franke committed Sep 4, 2016
1 parent 873734e commit c381a45
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion vignettes/ciRcusManual.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,18 @@ The function takes as input a data.frame which contains minimally 2 columns:
Alternatively, the user can specify supply to the function just the paths
to the files, and the coldata will be constructed automatically.

```{r Load_Data, eval=FALSE, echo=TRUE}
```



```{r Summarize_Circs, eval=FALSE, echo=TRUE}
circ.files = list.files(sytem.files('extdata'), pattern='bed', full.names=TRUE)
circ.files = list.files(system.file('extdata', package='ciRcus'),
pattern='sites.bed',
full.names=TRUE)
circ.files = circ.files[!grepl('Sy5y', circ.files)]
coldata = data.frame(sample = sub('.bed','',basename(circ.files)),
file=circ.files)
Expand Down

0 comments on commit c381a45

Please sign in to comment.