WGCNA tree creation
0
0
Entering edit mode
anjanaram1 ▴ 10
@anjanaram1-9014
Last seen 18 months ago
United States

Im trying to run the sample WGCNA code from the site as is,and am looking at the explanation but I was wondering if someone could explain what below lines do. if already explained elsewhere please feel free to delete:

    Note: I have modified the question.

# Form a data frame analogous to expression data that will hold the clinical traits.
femaleSamples = rownames(datExpr);
traitRows = match(femaleSamples, allTraits$Mice);
datTraits = allTraits[traitRows, -1];
rownames(datTraits) = allTraits[traitRows, 1];

I am not sure how to create such an analohous table with my clinical data.

 

bioinformatics R • 410 views
ADD COMMENT
0
Entering edit mode

What problems did you found? What/How many clinical variables do  you have?

ADD REPLY

Login before adding your answer.

Traffic: 191 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6