Description Usage Arguments Value Author(s) Examples

View source: R/methylInheritanceInternalMethods.R

Calculate the intersection of the differentially methylated
results for two
or more consercutive generations using a `list`

of `GRanges`

where
each entry represents the results for one generation.

1 | ```
interGeneration(resultAllGenGR)
``` |

`resultAllGenGR` |
a |

a `list`

containing the following elements:

`i2`

a`list`

of`GRanges`

Each`GRanges`

represents the intersection of analysis results 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.. The number of entries depends of the number of generations.`iAll`

a`list`

of`GRanges`

. Each`GRanges`

represents the intersection fo the analysis results 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.

Pascal Belleau, Astrid Deschenes

1 2 3 4 5 6 7 8 9 10 11 | ```
## Load permutation results on sites
permutationResultsFile <- system.file("extdata",
"permutationResultsForSites.RDS", package="methylInheritance")
permutationResults <- readRDS(permutationResultsFile)
## Transform result to GRanges
resultsGR <- methylInheritance:::getGRangesFromMethylDiff(methDiff =
permutationResults, pDiff = 10, qvalue = 0.01, type = "hyper")
## Extract inter generational conserved sites
conservedSitesGR <- methylInheritance:::interGeneration(resultsGR)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.