Create mapping between IDs and colors to use with reference plotting in Azimuth

CreateColorMap(object, ids = NULL, colors = NULL, seed = NULL)

Arguments

object

Seurat object

ids

Vector of IDs to link to colors

colors

Vector of colors to use

seed

Set to randomly shuffle color assignments

Value

A named vector of colors