dataAnnotationColor {singleCellTK} | R Documentation |
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.
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