mergePseudoBulk-DsATACsc-method.Rd
Merge cells into pseudobulk samples based on annotation
# S4 method for DsATACsc
mergePseudoBulk(.object, mergeGroups, cleanSampleAnnot = TRUE)
DsATACsc
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.
clean up sample annotation table in the new object
a new DsATAC
object with cells merged into pseudobulk samples