kda2himmeli.colormap {Mergeomics} | R Documentation

## Assign one color to each unique module

### Description

`kda2himmeli.colormap` takes number of the modules and assigns a particular color to each module. Returns the color list (palette).

### Usage

    kda2himmeli.colormap(ncolors)

### Arguments

`ncolors` | number of the unique modules

### Value

`palette` | color list: one color is assigned to each module

### Author(s)

Ville-Petteri Makinen

### References

Shu L, Zhao Y, Kurt Z, Byars SG, Tukiainen T, Kettunen J, Orozco LD, Pellegrini M, Lusis AJ, Ripatti S, Zhang B, Inouye M, Makinen V-P, Yang X. Mergeomics: multidimensional data integration to identify pathogenic perturbations to biological systems. BMC genomics. 2016;17(1):874.

### See Also

`kda2himmeli`

### Examples

    color.number = 5 ## let us assume we have 5 modules, assign 1 color to each:
    palette <- kda2himmeli.colormap(color.number)

[Package Mergeomics version 1.18.0 Index]