kda2himmeli.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

kda2himmeli.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)

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

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

zeynebkurtUCLA/Mergeomics documentation built on May 14, 2019, 1:59 a.m.