PlotDimCoef | R Documentation |
This function plots dimensional reduction on a Seurat object with cluster coefficients (absolute or normalized).
PlotDimCoef(
SeuratObj,
scIdentObj,
ms_celltypes = NULL,
reduction,
coef = "abs",
ncol = NULL,
nrow = NULL
)
SeuratObj |
A Seurat object containing single-cell RNA-seq data. |
scIdentObj |
The output object from the 'scIdent' function, containing deconvolution results. |
ms_celltypes |
A vector of cell types from the molecular signature to plot. Default is 'NULL', which plots all identified cell types. |
reduction |
The type of dimensional reduction to use (e.g., "pca", "tsne", "umap"). |
coef |
A string indicating the type of coefficients to plot. Can be "abs" for absolute coefficients or "prop" for normalized coefficients. Default is "abs". |
ncol |
Number of columns for the facet wrap. Default is 'NULL'. |
nrow |
Number of rows for the facet wrap. Default is 'NULL'. |
Plots of dimensional reduction with cluster coefficients for each celltype detected by MIXTURE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.