standardColors: Colors this library uses for labeling modules.

Description Usage Arguments Value Author(s) Examples

View source: R/Functions.R

Description

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

Usage

1

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.

Author(s)

Peter Langfelder, Peter.Langfelder@gmail.com

Examples

1

Example output

Loading required package: dynamicTreeCut
Loading required package: fastcluster

Attaching package: 'fastcluster'

The following object is masked from 'package:stats':

    hclust



Attaching package: 'WGCNA'

The following object is masked from 'package:stats':

    cor

 [1] "turquoise" "blue"      "brown"     "yellow"    "green"     "red"      
 [7] "black"     "pink"      "magenta"   "purple"   

WGCNA documentation built on March 1, 2021, 1:05 a.m.

Related to standardColors in WGCNA...