Entering edit mode
4.9 years ago
chimerajit
▴
10
I am using R 3.6 RStudio: 1.2.1335, Windows: 7
Hi I am trying the tutorial of WGCNA using the tutorial data and the tutorial
All the steps working well and I understand the concept except the last few
traitColors = numbers2colors(datTraits, signed = FALSE)
'
when I am doing this step I am getting error of
*Error in numbers2colors(datTraits, signed = FALSE) :
'x' must be numeric. For a factor, please use as.numeric(x) in the call*
If I do 'head(datTraits)
I understand that it is asking a numeric data which is not there if I select a single column e.g datTraits$totalFat it will work well but how I bring all the column together as shown in that tutorial?
please help