Plots UMAP colored by cell annotation

plot_umap_annot(umap, type = "Cell type", labels, title = NULL, colors = NULL)

Arguments

umap

UMAP object

type

Description of the labels that are plotted (cell type, unsupervised clusters,...)

labels

Character vector, containing annotation for cells, in the same order as cells in the umap object

title

Title of the plot.

colors

List of colors, else default custom palette colors will be used

Value

UMAP plot