addTraitToMEs {WGCNA} | R Documentation |
Add trait information to multi-set module eigengene structure
Description
Adds trait information to multi-set module eigengene structure.
Usage
addTraitToMEs(multiME, multiTraits)
Arguments
multiME |
Module eigengenes in multi-set format. A vector of lists, one list per set. Each list
must contain an element named |
multiTraits |
Microarray sample trait(s) in multi-set format. A vector of lists, one list per
set. Each list
must contain an element named |
Details
The function simply cbind
's the module eigengenes and traits for each set. The number of sets
and numbers of samples in each set must be consistent between multiMEs
and multiTraits
.
Value
A multi-set structure analogous to the input: a vector of lists, one list per set. Each list will
contain a component data
with the merged eigengenes and traits for the corresponding set.
Author(s)
Peter Langfelder