Entering edit mode
Hello,
I would like to determine the number of genes contained within each module based on the module color. I realize that it is possible to determine this based on the ordering of the modules (see below), but I would like to know how to convert these numerical labels back into module colors. Is there a way to do this?
Thank you.
> table(net$colors)
# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
# 3444 4158 4139 2575 1873 1837 991 905 859 856 677 496 492 488 476 423 414 411 362 300 281 261 256 212 210 196 186 181 176
# 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
# 170 168 161 161 113 99 99 99 98 98 92 91 91 90 82 82 76 66 64 62 62 61 61 60 60 54 49 45 41
# 58 59 60
# 40 38 30
For anyone who might be interested. I was able to figure this out. It's very easy.... just set numericLabels = FALSE. (sigh)