Description Usage Arguments Value Author(s) Examples
View source: R/methylInheritanceMethods.R
Extract the information specific to a subsection of the permutation analysis. The extracted information will be specific to one type of differential methylation analysis (tiles or sites), to one type of intersection (two consecutive generation or more) and to one specific group of generations.
1 2 | extractInfo(allResults, type = c("sites", "tiles"), inter = c("i2",
"iAll"), position = 1)
|
allResults |
a |
type |
One of the |
inter |
One of the |
position |
a positive |
a data.frame
containing the observation results (using real
data) and the permutation results (using shuffled data). Both hyper and
hypo differentially conserved methylation results are present.
Astrid Deschenes, Pascal Belleau
1 2 3 4 5 6 7 8 9 10 11 | ## 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)
## Extract information for the intersection between conserved differentially
## methylated sites (type = sites) between the intersection of 2
## generations (inter = i2): F1 and F2 (position = 1)
info <- extractInfo(allResults = results, type = "sites", inter="i2", 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.