Description Usage Arguments Value Author(s)
View source: R/plotSCEHeatmap.R
Generate distinct colors for all categorical col/rowData entries. Character columns will be considered as well as all-integer columns. Any column with all-distinct values will be excluded.
1 | dataAnnotationColor(inSCE, axis = NULL, colorGen = distinctColors)
|
inSCE |
SingleCellExperiment inherited object. |
axis |
Choose from |
colorGen |
A function that generates color code vector by giving an
integer for the number of colors. Alternatively,
|
A list
object containing distinct colors mapped to all
possible categorical entries in rowData(inSCE)
or
colData(inSCE)
.
Yichen Wang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.