Description Usage Arguments Value Author(s) Examples
This function allows to plot the values of a feature (gene or metadata column) on a low-dimensional space
1 2 3 4 |
object |
A Seurat object |
feature |
Feature to be plotted (gene expression or metadata) |
dims |
Dimensions to plot. Only two are valid. |
reduction |
Dimensionality reduction (e.g. |
group |
Group variable in metadata |
type |
If gene expression is used, specify, rata type: |
qclip |
Quantile value to clip gene expression values or continuous variables. 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 |
label |
Label clusters when a categorical variable is used |
alpha |
Alpha level to adjust transparency of colors |
size |
Size of points |
pal |
Color palette to use |
label |
Include legend? |
A plot with feature of interest
José Alquicira Hernández
1 2 3 | # Plot clusters
plotFeature(pbmc, "seurat_clusters")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.