PlotSickleJrUMAP | R Documentation |
Plot the first and second dimensions of a UMAP dimension reduction and color either by clustering results or metadata.
PlotSickleJrUMAP(
SickleJr,
umap.modality = "H",
cluster = "kmeans",
title = "",
colorbymetadata = NULL,
legendname = NULL
)
SickleJr |
An object of class SickleJr |
umap.modality |
String corresponding to the name of the UMAP of interest: defaults to |
cluster |
String input that indicates which cluster to color by: defaults to |
title |
String input for optional |
colorbymetadata |
Name of metadata column if coloring by metadata |
legendname |
String input that to allow specification of a different legend name |
An object of class SickleJr with plots added to the plots
slot
ggplot2jrSiCKLSNMF
SimSickleJrSmall<-PlotSickleJrUMAP(SimSickleJrSmall,
title="K-Means Example")
SimSickleJrSmall<-PlotSickleJrUMAP(SimSickleJrSmall,umap.modality=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.