View source: R/utils_plotting.R
| plot_dimred | R Documentation |
Dimensionality reduction plot
plot_dimred( df, name, type = "umap", plot = "batch", markers = NULL, seed = 473, return_coord = FALSE )
df |
tibble of data to plot |
name |
Name of the output plot |
type |
Type of dimensionality reduction ("umap" or "pca") |
plot |
The column to use for coloring |
markers |
Markers to include in dimensionality reduction |
seed |
For reproducibility |
return_coord |
Return coordinates and not just the plot |
Other plot:
plot_density(),
plot_dimred_full(),
plot_save_four(),
plot_save_two(),
plot_umap_labels()
## Not run: uncor_umap <- plot_dimred(uncorrected, "Uncorrected", markers = markers) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.