Description Usage Arguments Value Author(s) Examples
This function allows to plot the expression of genes in individual color scales and their corresponding "merge" visualization
1 2 3 4 |
object |
A Seurat object |
gene1 |
Gene 1 |
gene2 |
Gene 2 (optional) |
dims |
Dimensions to plot. Only two are valid. |
reduction |
Dimensionality reduction (e.g. |
group |
Group variable in metadata |
type |
Data type: |
qclip |
Quantile value to clip gene expression values. This parameter reduces the effect of outlier cells with high gene expression according to a quantile of the distribution (default 1: No clipping). All cells for each gene expressing a value greater to the quantile value in the distribution are rescaled to the corresponding value of that quantile |
dropout |
Binarizes gene expression data. Assigns 1 to gene expression values greater than 0 |
alpha |
Alpha level to adjust transparency of colors |
size |
Size of points |
bgColor |
Background color |
returnGrid |
If |
A grid plot with individual genes and merge gene expression values
José Alquicira Hernández
1 2 3 | # Plot gene expression of CD8A and CD3D from log-normalized data over a UMAP plot
plotMerge(pbmc, "CD8A", "CD3D", reduction = "umap", type = "data")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.