Aggregate Seurat assay over groups

aggregate_assay(object, group_name, fun = "mean", assay = "RNA", slot = "data")

Arguments

group_name

A character vector indicating the metadata column to aggregate over.

fun

The summary function to be applied to each group.

assay

The assay to summarize.

slot

The slot to summarize.

Value

A Seurat object.