kda2cytoscape.colormap: Assign one color to each unique module

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/cle.LS.R

Description

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

Usage

1

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

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

Mergeomics documentation built on Nov. 8, 2020, 6:58 p.m.