Description Usage Arguments Value
View source: R/nice_dim_plot.R
nicer looking version of the Seurat function DimPlot.
1 2 3 4 5 6 7 8 9 | nice_dim_plot(
seurat_obj,
group_by = NULL,
cols = NULL,
pt_size = 1.3,
label = T,
reduction = "umap",
dims_plot = 1:2
)
|
seurat_obj |
Seurat object. |
group_by |
what to colour the points by, usually a column in the Seurat object metadata. |
cols |
optional: colours to label the grouped points by. |
pt_size |
point size. |
label |
label groups with text on plot? |
reduction |
either "umap" or "pca". |
dims_plot |
dimensions to plot. |
UMAP or PCA plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.