Merge signal and insertion data across samples

# S4 method for DsATAC
mergeSamples(.object, mergeGroups, countAggrFun = "sum")

Arguments

.object

DsATAC object

mergeGroups

factor or character vector or column name in sample annotation table. Can alternatively be a (named) list containing sample indices or names for each group to merge.

countAggrFun

aggregation function for signal counts. Currently sum (default), mean and median are supported.

Value

a new DsATAC object with samples merged

Author

Fabian Mueller