Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting soft_pow #9

Open
juyanmei opened this issue Jul 4, 2022 · 2 comments
Open

Setting soft_pow #9

juyanmei opened this issue Jul 4, 2022 · 2 comments

Comments

@juyanmei
Copy link

juyanmei commented Jul 4, 2022

Could you gave me some suggestions about setting soft_pow?

@juyanmei
Copy link
Author

juyanmei commented Jul 4, 2022

Can I use these codes to choose the appropriate soft_pow?
What if the soft_pow is different between the case network and the control network? Should I just choose it based on the number of samples following WGCNA https://horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/faq.html?
powers = c(c(1:10), seq(from = 12, to = 30, by = 2))
adj <- as.matrix(0.5 + 0.5 * network)
soft = pickSoftThreshold(adj, dataIsExpr = F, powerVector = powers, RsquaredCut = 0.85)

@xiaolw95
Copy link
Owner

Your codes are ok for the determination of soft_pow but I am afraid that the current version of NetMoss does not work for different parameters of case-control groups. I will improve it in the next version. Thanks anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants