interGeneration {methylInheritance}R Documentation

Calculate the intersection of the differentially methylated results for two or more consercutive generations

Description

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.

Usage

interGeneration(resultAllGenGR)

Arguments

resultAllGenGR

a list of GRanges as created by the getGRangesFromMethylDiff function. Each entry of the list represents the differentially methylated results for one generation (first entry = first genertation, second entry = second generation, etc..). Each GRanges object holds statistics for differentially methylated regions/bases.

Value

a list containing the following elements:

Author(s)

Pascal Belleau, Astrid Deschenes

Examples


## 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)


[Package methylInheritance version 1.17.0 Index]