View source: R/Visualizations_Seurat_based.R
PercExprThrTab | R Documentation |
This function calculates the percentage of cells expressing each gene above a given threshold in each metadata group of a Seurat object.
PercExprThrTab(
SerObj,
GeneNames = NULL,
CutThresh = NULL,
MetaDataName = NULL,
slot = "data",
Quant = 0.1,
assay = "RNA"
)
SerObj |
A Seurat object. |
GeneNames |
A character vector specifying the gene names to calculate the percentage for. |
CutThresh |
A numeric value specifying the threshold for gene expression. If NULL, quantile thresholding will be used. |
MetaDataName |
A character string specifying the metadata column name to group the cells. |
slot |
The slot name to retrieve the data from. Default is "data". |
Quant |
A numeric value specifying the quantile threshold to use if CutThresh is NULL. |
assay |
The assay name to retrieve the data from. If NULL, the default assay of the Seurat object is used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.