When using WGCNA it would be useful to match eigengene values to the corresponding sample IDs, but I can't seem to find a way to do this.
Taken from the tutorial (part I.2a.), blockwiseModules takes a data expression file (datExpr), with sample IDs:
net = blockwiseModules(datExpr, power = 6, TOMType = "unsigned", minModuleSize = 30,
reassignThreshold = 0, mergeCutHeight = 0.25, numericLabels = TRUE, pamRespectsDendro = FALSE, saveTOMs = TRUE, saveTOMFileBase = "femaleMouseTOM",
verbose = 3)
Within net, you then have the dataframe MEs, which contains the modules in the columns and has a number of rows equal to the number of samples imported, but they are unlabelled. I suspect these represent the samples in the order they were imported, but I am not sure. Does anyone know if this is the case, or if it is possible to generate a table containing the eigengene values and sample names?
Hope someone can help!