plot_UMAP_marker | R Documentation |
This function colours UMAP results by marker expressions. Returns a graph.
plot_UMAP_marker(
umap.results = NULL,
data = NULL,
marker = NULL,
lower = NULL,
upper = NULL,
palette = "Purples",
title = ""
)
umap.results |
(Required) UMAP object. Expects results from run_UMAP |
data |
(Required) Data in data frame format. Expects results from load_data |
marker |
(Required) Marker to be coloured |
lower |
Lower bound of colour spectrum (Default: Lowest value of marker expression) |
upper |
Upper bound of colour spectrum (Default: Highest value of marker expression) |
palette |
ggplot2 colour spectrum (Default: 'Purples') |
title |
Title of plot (Default: NULL) |
plot_UMAP_marker(umap.results, data, marker = 'CD45')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.