Description Usage Arguments Value Author(s) See Also Examples
This function extracts from the methylation data the total number of reads, the number of methylated reads and the number of cytosines in the specific context from a region (e.g. DMRs)
1 2 | analyseReadsInsideRegionsForCondition(regions, methylationData, context,
label = "", cores = 1)
|
regions |
a |
methylationData |
the methylation data in one condition
(see |
context |
the context in which to extract the reads ( |
label |
a string to be added to the columns to identify the condition |
cores |
the number of cores used to compute the DMRs. |
a GRanges
object with additional four metadata columns
the number of methylated reads
the total number of reads
the proportion methylated reads
the number of cytosines in the regions
Nicolae Radu Zabet
filterDMRs
, computeDMRs
,
DMRsNoiseFilterCG
, and mergeDMRsIteratively
1 2 3 4 5 6 7 8 9 10 11 | # load the methylation data
data(methylationDataList)
#load the DMRs in CG context. These DMRs were computed with minGap = 200.
data(DMRsNoiseFilterCG)
#retrive the number of reads in CHH context in WT
DMRsNoiseFilterCGreadsCHH <- analyseReadsInsideRegionsForCondition(
DMRsNoiseFilterCG[1:10],
methylationDataList[["WT"]], context = "CHH",
label = "WT")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.