annotToCol2 {ChromSCape} | R Documentation |
annotToCol2
annotToCol2( annotS = NULL, annotT = NULL, missing = c("", NA), anotype = NULL, maxnumcateg = 2, categCol = NULL, quantitCol = NULL, plotLegend = TRUE, plotLegendFile = NULL )
annotS |
A color matrix |
annotT |
A color matrix |
missing |
Convert missing to NA |
anotype |
Annotation type |
maxnumcateg |
Maximum number of categories |
categCol |
Categorical columns |
quantitCol |
Quantitative columns |
plotLegend |
Plot legend ? |
plotLegendFile |
Which file to plot legend ? |
A matrix of continuous or discrete colors
data("scExp") annotToCol2(SingleCellExperiment::colData(scExp), plotLegend = FALSE)