mergeSamples-DsATAC-method.Rd
Merge signal and insertion data across samples
# S4 method for DsATAC
mergeSamples(.object, mergeGroups, countAggrFun = "sum")
DsATAC
object
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.
aggregation function for signal counts.
Currently sum
(default), mean
and median
are supported.
a new DsATAC
object with samples merged