plot_umap | R Documentation |
Visualize the global landscape of the perturbation response across a single-cell dataset by superimposing cell type prioritizations (Augur AUCs, or their relative rank within the dataset) for each cell type onto a dimensionality reduction
plot_umap(
augur,
sc,
mode = c("default", "rank"),
reduction = "umap",
palette = "cividis",
top_n = 0,
cell_type_col = "cell_type"
)
augur |
a set of Augur results obtained from |
sc |
a Seurat, monocle3, or SingleCellExperiment object containing dimensionality reduction coordinates |
mode |
whether to plot the raw AUCs or their relative ranks; one of
|
reduction |
the type of dimensionality reduction to extract from the
|
palette |
the color palette used to visualize the AUC for each cell
type. Can be provided either a string specifying a ColorBrewer (see
|
top_n |
optionally, the number of top prioritized cell types to label in the plot |
cell_type_col |
the column of the |
The following color maps can be specified using the palette
argument:
viridis color scales: magma, inferno, plasma, viridis, or cividis (the default)
sequential ColorBrewer scales: BuGn, BuPu, GnBu, Greens, Greys, Oranges, OrRd, PuBu, PuBuGn, PuRd, Purples, RdPu, Reds, YlGn, YlGnBu, YlOrBr, or YlOrRd
diverging ColorBrewer scales: BrBG, PiYG, PRGn, PuOr, RdBu, RdGy, RdYlBu, RdYlGn, or Spectral
a vector of colors that will be passed into
scale_color_gradientn
a ggplot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.