| loadFromFiles {breakpointR} | R Documentation |
Wrapper to load breakpointR objects from file and check the class of the loaded objects.
loadFromFiles(files, check.class = c("GRanges", "BreakPoint"))
files |
A list of |
check.class |
Any combination of |
A list of GRanges-class or BreakPoint objects.
## Get some files that you want to load
exampleFolder <- system.file("extdata", "example_results", package="breakpointRdata")
exampleFiles <- list.files(exampleFolder, full.names=TRUE)
## Load the processed data
breakpoint.objects <- loadFromFiles(exampleFiles)