PrctCellExpringGene: Proportion of Cells Expressing Given Genes

View source: R/Seurat.utils.less.used.R

PrctCellExpringGeneR Documentation

Proportion of Cells Expressing Given Genes

Description

Calculates the proportion of cells expressing one or more specified genes.

Usage

PrctCellExpringGene(genes, group.by = "all", obj = combined.obj, ...)

Arguments

genes

Character vector of gene names of interest.

group.by

Optional grouping variable for analysis (e.g., cell type). Default: 'all'.

obj

Seurat object to analyze. Default: combined.obj.

...

Additional arguments.

Value

Data frame with genes and their cell expression proportion, optionally grouped.

Source

Adapted from Ryan-Zhu on GitHub.

Examples

## Not run: 
PrctCellExpringGene(genes = c("LTB", "GNLY"), obj = combined.obj)

## End(Not run)


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.