Per-cluster cell counts and a joined metadata+embeddings table.
calculate_cluster_stats.RdWrites metadata-<label>.csv.gz (cell metadata joined with the tSNE/UMAP
embeddings, skipped if neither reduction is present) and
summary-<label>.csv (cell counts and percentages per cluster, split
further by sample into summary-<label>-per-sample.csv when that differs).
Arguments
- x
Seurat object with an identity set, such as via
set_identity().- label
Suffix for the output filenames.