PercentExpressed: Calculate the percent expressed cells for each group in a...

View source: R/Seurat_based.R

PercentExpressedR Documentation

Calculate the percent expressed cells for each group in a Seurat object

Description

Calculate the percent expressed cells for each group in a Seurat object

Usage

PercentExpressed(SerObj, group.by, features, plot_perHM = F)

Arguments

SerObj

A Seurat object

group.by

A meta feature used to group the cells

features

A vector of features (genes) to calculate the percent expressed cells for

plot_perHM

A logical indicating whether to plot a heatmap of the results

Value

A data frame with the percent expressed cells for each group and feature


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.