Combine cells into groups based on shared variables and aggregate feature counts.
# S4 method for class 'SingleCellExperiment'
aggregate_cells(
.data,
.sample = NULL,
slot = "data",
assays = NULL,
aggregation_function = Matrix::rowSums,
...
)
A tibble object
Hutchison, W.J., Keyes, T.J., The tidyomics Consortium. et al. The tidyomics ecosystem: enhancing omic data analyses. Nat Methods 21, 1166–1170 (2024). https://doi.org/10.1038/s41592-024-02299-2