annotToCol2 {ChromSCape} | R Documentation

## annotToCol2

### Description

annotToCol2

### Usage

    annotToCol2(
      annotS = NULL,
      annotT = NULL,
      missing = c("", NA),
      anotype = NULL,
      maxnumcateg = 2,
      categCol = NULL,
      quantitCol = NULL,
      plotLegend = TRUE,
      plotLegendFile = NULL
    )

### Arguments

`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 ?

### Value

A matrix of continuous or discrete colors

### Examples

    data("scExp")
    annotToCol2(SingleCellExperiment::colData(scExp), plotLegend = FALSE)

[Package ChromSCape version 1.2.62 Index]