Description Usage Arguments Value
Plot markers scores in UMAP space (one facet per marker set).
1 2 3 4 5 6 7 | plot_marker_scores(
scores,
umap_coordinates,
normalize_scores = FALSE,
point_size = 1,
rasterize_umap = FALSE
)
|
scores |
A marker score matrix as returned by score_cells or compute_marker_enrichment. |
umap_coordinates |
A (cell x 2) data.frame containing UMAP coordinates, where the ordering of cells is the same as in the score matrix |
normalize_scores |
Boolean. If TRUE, marker scores are renormalized between 0 and 1 for all marker sets to obtain similar color ranges across facets. |
point_size |
Numeric value indicating the dot size. |
rasterize_umap |
Boolean. If TRUE, the UMAP part of the figure is rasterized. This is particularly useful for large datasets. |
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.