View source: R/nice_dim_plot_old.R
nice_dim_plot_old | R Documentation |
nicer looking version of the Seurat function DimPlot.
nice_dim_plot_old(
seurat_obj,
group_by = NULL,
cols = NULL,
pt_size = 1.3,
label = T,
reduction = "umap",
dims_plot = 1:2,
n_col = NULL
)
seurat_obj |
Seurat object. |
group_by |
optional: what to colour the points by, usually a column in the Seurat object metadata. Otherwise will color by the default ident. |
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. |
n_col |
number of columns, only relevant if length of group_by > 1 |
UMAP or PCA plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.