Learn R Programming

WGCNA (version 1.63)

standardColors: Colors this library uses for labeling modules.

Description

Returns the vector of color names in the order they are assigned by other functions in this library.

Usage

standardColors(n = NULL)

Arguments

n

Number of colors requested. If NULL, all (approx. 450) colors will be returned. Any other invalid argument such as less than one or more than maximum (length(standardColors())) will trigger an error.

Value

A vector of character color names of the requested length.

Examples

Run this code
# NOT RUN {
standardColors(10);
# }

Run the code above in your browser using DataLab