tf1_color_map: A mapping function to specific colors for the TF1 clone paper

Description Usage Arguments Details Value Examples

View source: R/cell_colors.R

Description

This function maps a common feature/cell type (e.g. "B9") and returns the canonical hex code associtated with it.

Usage

1

Arguments

name

a character (vector) corresponding to a name with a mappable color

Details

color_map (no 's') is the function; color_maps is a named character vector.

Value

a character (vector) of hex codes

Examples

1
2
3
4
5
6
# See possible values
names(tf1_color_maps)

# Get hex codes
tf1_color_map("B9")
tf1_color_map(c("C9", "D6", "G10"))

caleblareau/BuenColors documentation built on March 7, 2020, 3:34 p.m.