Search
Question: WGCNA multiple data sets overlapping analysis
0
gravatar for 2323982403
6 months ago by
232398240310
232398240310 wrote:

I was analyzing three data sets using wgcna independently.  Each data set gave me several modules and I want to see their overlapping. With the help of the tutorial "Consensus-RelateToFemMods", I could modify some code to generate a overlapping heatmap containing the overlapped counts and p values.  But when it comes assigning highly overlapped modules in different data sets with the same color, I'm a bit confused.

I'm wondering if there is a function for this reassigning module colors according to overlapping status. If there is not, what kind of rules do I have to follow to write my own code?

ADD COMMENTlink modified 6 months ago by Peter Langfelder1.3k • written 6 months ago by 232398240310

You want to compare how much several networks overlap their modules?

You can only compare between two networks to see the overlapping status. So you would need to compare A with B, B with C and A with C, and then extract your conclusions from there. I recommend a venn diagram of the overlapping modules. 

Another option would be to plot them with color bars and see the resulting image how many sections/genes are predominantly of the same color

ADD REPLYlink written 6 months ago by Lluís R300
0
gravatar for Peter Langfelder
6 months ago by
United States
Peter Langfelder1.3k wrote:

For pairwise matching, use the function matchLabels. You will want to select one of the three sets as a reference set and match the labels of the other two sets to the reference.
 

ADD COMMENTlink written 6 months ago by Peter Langfelder1.3k
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.2.0
Traffic: 157 users visited in the last hour