View source: R/SpatialPCA_utilties.R
plot_RGB_UMAP | R Documentation |
We summarized the inferred low dimensional components into three UMAP. components and visualized the three resulting components with red/green/blue (RGB) colors in the RGB plot.
plot_RGB_UMAP(location, latent_dat, pointsize = 2, textsize = 15)
location |
A n by k location matrix. n is spot number. |
latent_dat |
A d by n matrix of low dimensional components. |
pointsize |
The point size of each spot. |
textsize |
The text size in the legend. |
A list.
RGB |
A data frame with five columns: x coordinate, y coordinate, R, G, and B color index |
figure |
A ggplot object for RGB plot from UMAP. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.