regionAggregation-DsNOMe-method.Rd
Aggregate methylation levels and coverage values accross a set of regions
# S4 method for DsNOMe
regionAggregation(
.object,
regGr,
type,
methAggrFun = "weightedMean",
dropEmpty = TRUE
)
DsNOMe
object
GRanges
object containing regions to summarize
character string specifying a name for the region type
aggregation function for methylation levels.
Currently mean
, median
and weightedMean
(default) are supported.
discard all regions with no observed methylation levels
a new DsNOMe
object with aggregated regions
Coverage values are aggregated by summing up coverage values for individual GCs
while the aggregation function for methylation levels is specified by the
methAggrFun
parameter.