plotUMAP | R Documentation |
Plots UMAP results in a scatterplot.
plotUMAP(object, ...)
## S4 method for signature 'DimRed'
plotUMAP(
object,
alpha_by = NULL,
color_by = NULL,
shape_by = NULL,
size_by = NULL,
pt_alpha = 0.9,
pt_color = "black",
pt_fill = "black",
pt_shape = 19,
pt_size = 1,
color_aes = "color",
clrp = "milo",
clrp_adjust = NULL,
clrsp = "inferno",
...
)
## S4 method for signature 'Analysis'
plotUMAP(
object,
alpha_by = NULL,
color_by = NULL,
shape_by = NULL,
size_by = NULL,
pt_alpha = 0.9,
pt_color = "black",
pt_fill = "black",
pt_shape = 19,
pt_size = 1,
color_aes = "color",
clrp = "milo",
clrp_adjust = NULL,
clrsp = "inferno",
...
)
object |
Any object for whose class a method has been defined. |
clrp |
Character value. Specifies the color palette to be used to represent
groups of discrete variables. Run |
A ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.