View source: R/support_functions.R
annotToCol2 | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.