View source: R/loadFromFiles.R
loadFromFiles | R Documentation |
Wrapper to load AneuFinder objects from file and check the class of the loaded objects.
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.
## 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.