create.color.bar {coMET} | R Documentation

## Create color bar of heatmap

### Description

Create color legend for the correlation matrix

### Usage

    create.color.bar(config.var, gbl.var)

### Arguments

`config.var` | list of all variables defined in configuration file or via options of comet function
`gbl.var` | list of internal variables

### Value

list of different matrix

`color.cut` | the matrix of color related to correlation matrix

,

`color.cut.ref` | the vector of color related to the reference CpG

,

`cormatrix.key` | the generic panel having different panels associated with the correlation matrix

,

`map.label.ldtype` | the panel with the method of creation of correlation matrix

.

`map.label.distance` | the panel with the legend of distance

### Author(s)

Tiphaine Martin

[Package coMET version 1.24.0 Index]