Learn R Programming

moduleColor (version 1.8-4)

moduleColor.setMEprefix: Set the prefix used to label module eigengenes.

Description

Sets the prefix used to label module eigengenes. When returning module eigengenes in a dataframe, names of the corresponding columns will start with the given prefix.

Usage

moduleColor.setMEprefix(prefix)

Arguments

prefix

A character string of length 2. Recommended values are "PC" (the default start-up value) and "ME".

Value

None.

Details

Sets the prefix used to label module eigengenes. When returning module eigengenes in a dataframe, names of the corresponding columns will consist of the corresponfing color label preceded by the given prefix. For example, if the prefix is "PC" and the module is turquoise, the corresponding module eigengene will be labeled "PCturquoise". Most of old code assumes "PC", but "ME" is more instructive and used in some newer analyses.

See Also

moduleColor.getMEprefix, moduleEigengenes