Cells_per_Sample {scCustomize}R Documentation

Cells per Sample

Description

Get data.frame containing the number of cells per sample.

Usage

Cells_per_Sample(seurat_object, sample_col = NULL)

Arguments

seurat_object

Seurat object

sample_col

column name in meta.data that contains sample ID information. Default is NULL and will use "orig.ident column

Value

A data.frame

Examples

library(Seurat)
num_cells <- Cells_per_Sample(seurat_object = pbmc_small, sample_col = "orig.ident")


[Package scCustomize version 3.0.1 Index]