Question: WGCNA categorical trait with more than 2 levels.
1
gravatar for english.server
11 months ago by
Germany
english.server160 wrote:

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

categorical trait wgcna • 584 views
ADD COMMENTlink modified 6 months ago by Agustin Gonzalez-Vicente50 • written 11 months ago by english.server160
3
gravatar for Agustin Gonzalez-Vicente
6 months ago by
Cleveland, OH

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.

This link may help

ADD COMMENTlink written 6 months ago by Agustin Gonzalez-Vicente50
1

Thank you for your excellent link.

ADD REPLYlink written 6 months ago by english.server160
1
gravatar for Renesh
11 months ago by
Renesh1.8k
United States
Renesh1.8k wrote:

WGCNA works on correlation measure. You can not use categorical variables in WGCNA analysis. You need to have quantitative variables (samples) with a number of samples at least 15 for reliable results.

ADD COMMENTlink written 11 months ago by Renesh1.8k

Thank you @Renesh for your response.

ADD REPLYlink written 11 months ago by english.server160
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1954 users visited in the last hour