loadFromFiles {AneuFinder} | 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')