Description Usage Arguments Value
View source: R/nice_feature_plot.R
nicer looking version of the Seurat function FeaturePlot.
1 2 3 4 5 6 7 8 9 10 11 12 13 | nice_feature_plot(
seurat_obj,
features,
pt.size = 1.3,
n_col = NULL,
reduction = "umap",
dims_plot = 1:2,
diverging_cmap = F,
scale_data = F,
cutoffs = NA,
order = F,
cols = NULL
)
|
seurat_obj |
Seurat object. |
features |
genes to plot. |
pt.size |
size of plotted points. |
n_col |
if plotting multiple genes, number of columns in final plot_grid object. |
reduction |
one of "umap" or "pca". |
dims_plot |
number of dimensions to plot. |
diverging_cmap |
if T, will fill points with diverging colours between blue and red. otherwise, will use a linear colourmap. |
scale_data |
plot Z-scored data? |
cutoffs |
expression level cutoffs for plotting. |
order |
plot cells in order of expression? |
cols |
optional: colourmap. |
UMAP or PCA plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.