scVizMeta | R Documentation |
Visualize MetaData in low dimensional embedding
scVizMeta(
object = NULL,
signature = NULL,
pt.size = NULL,
reduction = NULL,
title = NULL,
split.by = NULL,
ncol = NULL,
raster = TRUE,
palette = "YlOrRd",
interval = c(Max = 1e+05, Hyper = 10000, Abundant = 1000, Large = 500,
Medium = 100, Small = 10, Single = 1, None = 0)
)
object |
Seurat object |
signature |
Name of one gene set |
pt.size |
Adjust point size to plot, default pt.size=0.5 |
reduction |
Which dimensionality reduction to use, default is 'umap' |
title |
Text for the plot title, default title=NULL |
split.by |
Name of a metadata column to split plot by |
ncol |
Number of columns for display the plots |
raster |
Convert points to raster format, default is TRUE |
palette |
A palette name from RColorBrewer package |
interval |
set MetaData intervals to plot |
visualize data from MetaData slot
A ggplot object
Inspired by Borcherding et al, F1000Research (2020)
data("H3N2_small")
scVizMeta(object = H3N2_small,
reduction = "umap",
signature = "H3N2",
split.by = "sample",
pt.size = 1,
interval = c(
Abundant = 1000,
Large = 500,
Medium = 100,
Small = 10,
Single = 1,
None = 0
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.