CreateColorMap: Create A Color Map

View source: R/azimuth.R

CreateColorMapR Documentation

Create A Color Map

Description

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

Usage

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


satijalab/azimuth documentation built on Nov. 19, 2023, 8:34 a.m.