Description Usage Arguments Value Author(s) Examples
View source: R/methylInheritanceInternalMethods.R
Transform a list
of methylDiff
objects into
a list
of GRanges
objects. Each methylDiff
object
represent a CpG site or region analysis done on one generation.
1 2 3 4 5 6 | getGRangesFromMethylDiff(
methDiff,
pDiff,
qvalue,
type = c("all", "hyper", "hypo")
)
|
methDiff |
a |
pDiff |
a positive |
qvalue |
a positive |
type |
One of the |
a list
of GRanges
objects, 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.
Pascal Belleau
1 2 3 4 5 6 7 8 | ## 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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.