kda2cytoscape.colormap {Mergeomics} | R Documentation

## Assign one color to each unique module

### Description

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

### Usage

    kda2cytoscape.colormap(ncolors)

### Arguments

`ncolors` | number of the unique modules

### Value

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

### Author(s)

Zeyneb Kurt

### 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

`kda2cytoscape`

### Examples

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

[Package Mergeomics version 1.10.0 Index]