Learn R Programming

scCustomize (version 3.0.1)

Cluster_Stats_All_Samples: Calculate Cluster Stats

Description

Calculates both overall and per sample cell number and percentages per cluster based on orig.ident.

Usage

Cluster_Stats_All_Samples(seurat_object, group_by_var = "orig.ident")

Value

A data.frame with rows in order of frequency

Arguments

seurat_object

Seurat object name.

group_by_var

meta data column to classify samples (default = "orig.ident").

Examples

Run this code
if (FALSE) {
stats <- Cluster_Stats_All_Samples(seurat_object = object, group_by_var = "orig.ident")
}

Run the code above in your browser using DataLab