Description Usage Arguments Value Examples
Plot a UMAP data.frame
1 2 3 4 5 6 7 8 9 10 |
result |
Result object containing UMAP data.frame |
point_size |
Scatter plot point size |
no_legend |
Remove legend |
label_clusters |
Add annotation labels to clusters (may not work well for split or small clusters) |
label_size |
Size of cluster labels |
legend_size |
Set legend size |
text_box |
Place a box around cluster labels for improved readability |
plotly |
Create plotly version of plot |
Returns a ggplot2 plot of the created umap, if plotly = TRUE the ggplotly object is returned
1 2 3 4 | result <- readRDS(system.file("testdata", "res_annot.rds",
package = "BAGEL"))
create_umap(result, "Tumor_Subtypes", n_neighbors = 5)
plot_umap(result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.