Thank you for your excellent link.
WGCNA categorical trait with more than 2 levels.
Hi there!
Is it possible to use categorical traits (such as ethnicity) in WGCNA analysis? If so, shall we encode them with 0s and 1s? what if the trait is not binary and has several levels? Perhaps use 1, 2, 3,4?
Thank you in advance
• 4,764 views
•
link
2 answers
You can use categorical variables, if it is binary, then you can expressed it as 0 and 1. If it has more levels then you can separate each level as an individual binary variable.
• 0 views
•
link
• 0 views
•
link
Log in to answer this question.