Description Usage Arguments Details Value Author(s) See Also Examples
This method summarizes the methylation states of single CpG sites to a single methylation state for a given genomic region.
1 | summarizeRegions(object, regions, outputAll)
|
object |
An |
regions |
A |
outputAll |
A logical. If |
When the given object is of class BSraw-class
, all
(methylated) reads of all CpG site lying within a region are summed up and
assign as total number of (methylated) reads to that region. It is recommended
to use limitCov
before applying summarizeRegions
to an
BSraw-class
object in order to avoid an excessive influence of a
single CpG site on the methylation value of a region. When the
given object is of class BSrel-class
, the mean relative methylation
of all CpGs within a region is assign to that region.
The rowRanges
slot of the returned object is the given object
regions
with all columns preserved.
An BSraw
or an BSrel
object storing methylation information about
the given regions.
Hans-Ulrich Klein
BSraw-class
, BSrel-class
, limitCov
1 2 3 4 5 6 7 | data(rrbs)
rrbs.clustered <- clusterSites(rrbs)
regions <- clusterSitesToGR(rrbs.clustered)
rrbs <- limitCov(rrbs, maxCov=50)
rrbsRegion <- summarizeRegions(rrbs, regions)
totalReads(rrbsRegion)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.