Description Usage Arguments Details Value Examples
This function maps a common feature/cell type (e.g. "HSC") and returns the canonical hex code associtated with it.
1 |
name |
a character (vector) corresponding to a name with a mappable color |
color_map (no 's') is the function; color_maps is a named character vector.
a character (vector) of hex codes
1 2 3 4 5 6 | # See possible values
names(ejc_color_maps)
# Get hex codes
ejc_color_map("HSC")
ejc_color_map(c("HSC", "LMPP", "HSC"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.