loadAllRDSResults {methylInheritance} | R Documentation |
Load all RDS files created by the permutation and
observation analysis. The function
returns an object of class
"methylInheritanceAllResults" that holds
all the pertinent information.
loadAllRDSResults(analysisResultsDir, permutationResultsDir, doingSites = TRUE, doingTiles = FALSE, maxID = NA)
analysisResultsDir |
a |
permutationResultsDir |
a |
doingSites |
a |
doingTiles |
a |
maxID |
|
a list
of class methylInheritanceAllResults
containing the result of the observation analysis as well as the results
of all the permutations.
Astrid Deschenes, Pascal Belleau
mergePermutationAndObservation
for detail
description, in the Value section, of the
methylInheritanceAllResults
object.
## Get the name of the directory where files are stored filesDir <- system.file("extdata", "TEST", package="methylInheritance") ## Load information from files results <- loadAllRDSResults(analysisResultsDir = filesDir, permutationResultsDir = filesDir, doingSites = TRUE, doingTiles = TRUE) ## Print the observation results results ## Access the results for the first permutation only for sites results$PERMUTATION[[1]]$SITES