Hi all I'm currently analyzing a microarray dataset using the WGCNA package. but am running into difficulty when relating the clinical traits to the eigenmodules.i have 3 group as patient and one group as control so in binary i used 0 for control and 1-3 for 3 patient group and it gave me this error:

-Error in labeledHeatmap(Matrix = moduleTraitCor, xLabels = names(datTraits), : Length of 'xLabels' must equal the number of columns in 'Matrix.'

my codes are in attach

More Reyhane Sadeghi's questions See All
Similar questions and discussions