Description Usage Arguments Value Examples
View source: R/loadFromFiles.R
Wrapper to load AneuFinder objects from file and check the class of the loaded objects.
1 2 | loadFromFiles(files, check.class = c("GRanges", "GRangesList", "aneuHMM",
"aneuBiHMM"))
|
files |
A list of |
check.class |
Any combination of |
A list of GRanges-class
, GRangesList
, aneuHMM
or aneuBiHMM
objects.
1 2 3 4 5 6 | ## Get some files that you want to load
folder <- system.file("extdata", "primary-lung", "hmms", package="AneuFinderData")
files <- list.files(folder, full.names=TRUE)
## Load and plot the first ten
hmms <- loadFromFiles(files[1:10])
lapply(hmms, plot, type='profile')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.