Description Usage Arguments Value Author(s) Examples
View source: R/methylInheritanceInternalMethods.R
Extract the number of conserved differentially methylated
elements in GRanges
. Each GRanges
is the result of one intersection between two or more consecutive
generations for one analysis done on all generations.
The hypo and hyper differentially methylated elements are counted
separatly.
1 | createDataStructure(interGenerationGR)
|
interGenerationGR |
a
|
a list
containing the following elements:
i2
a list
containing:
HYPER
a list
of integer
, the number of conserved
hyper differentially methylated sites between two consecutive generations.
The first element represents the intersection of the first and second
generations; the second element, the intersection of the second and third
generations; etc..
HYPO
a list
of integer
, the number of conserved
hypo differentially methylated sites between two consecutive generations.The
first element represents the intersection of the first and second
generations; the second element, the intersection of the second and third
generations; etc..
iAll
a list
containing:
HYPER
a list
of integer
, the number of conserved
hyper differentially methylated sites between three or more consecutive
generations. The first element represents the intersection of the first
three generations; the second element, the intersection of the first fourth
generations; etc..The number of entries depends of the number
of generations.
HYPO
a list
of integer
, the number of conserved
hypo differentially methylated sites between three or more consecutive
generations. The first element represents the intersection of the first
three generations; the second element, the intersection of the first fourth
generations; etc..The number of entries depends of the number of
generations.
Astrid Deschenes, Pascal Belleau
1 2 3 4 5 6 7 8 9 | ## Get the name of the directory where the file is stored
filesDir <- system.file("extdata", "TEST", package="methylInheritance")
## Load file containing results from a observation analysis
obsResults <- readRDS(file = paste0(filesDir,
"/SITES/SITES_observed_results.RDS"))
## Create data structure using information form the observation analysis
formatedResults <- methylInheritance:::createDataStructure(obsResults)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.