How to Specify Power Parameter for Adjacency in modulePreservation() (WGCNA)
1
0
Entering edit mode
12 weeks ago
Berkan • 0

Hi everyone,

I’m using the modulePreservation() function from the WGCNA package to assess module preservation across datasets. My question concerns how adjacency is calculated when I use expression data directly (i.e., dataIsExpr = TRUE).

From what I understand, modulePreservation() computes the adjacency matrices internally using a correlation function (like cor). However, I couldn’t find a way to specify the soft-thresholding power — the power parameter isn’t exposed in the function’s arguments.

In my case, I determined the power for the reference network using scale-free topology fit (SFT), so it’s not the default (e.g., 6). I want to make sure this is correctly used in the preservation step.

Is there any way to explicitly set the power used inside modulePreservation() when dataIsExpr = TRUE?

Or should I precompute the adjacency matrices using my chosen power and set dataIsExpr = FALSE?

Alternatively, is this a non-issue and WGCNA somehow reuses the power from the reference network construction?

Any guidance would be greatly appreciated.

module analysis WGCNA preservation • 422 views
ADD COMMENT
0
Entering edit mode
12 weeks ago

multiData can contain your adjacency matrices. Then in modulePreservation() set dataIsExpr = FALSE

ADD COMMENT

Login before adding your answer.

Traffic: 4764 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