regionAggregation-DsNOMe-method: regionAggregation-methods

regionAggregation,DsNOMe-methodR Documentation

regionAggregation-methods

Description

Aggregate methylation levels and coverage values accross a set of regions

Usage

## S4 method for signature 'DsNOMe'
regionAggregation(
  .object,
  regGr,
  type,
  methAggrFun = "weightedMean",
  dropEmpty = TRUE
)

Arguments

.object

DsNOMe object

regGr

GRanges object containing regions to summarize

type

character string specifying a name for the region type

methAggrFun

aggregation function for methylation levels. Currently mean, median and weightedMean (default) are supported.

dropEmpty

discard all regions with no observed methylation levels

Details

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.

Value

a new DsNOMe object with aggregated regions

Author(s)

Fabian Mueller


GreenleafLab/ChrAccR documentation built on March 22, 2023, 11:42 p.m.