Aggregate methylation levels and coverage values accross a set of regions
# S4 method for DsNOMe regionAggregation( .object, regGr, type, methAggrFun = "weightedMean", dropEmpty = TRUE )
GRanges object containing regions to summarize
character string specifying a name for the region type
aggregation function for methylation levels.
weightedMean (default) are supported.
discard all regions with no observed methylation levels
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