smith-chem-wisc / MetaNetwork

9 stars 5 forks source link

Update app.R #23

Closed avcarr2 closed 3 years ago

avcarr2 commented 3 years ago

The most common crash in MetaNetwork is caused by not meeting scale free topology threshold. I added code that will detect if the scale free topology was not met, and defaults to a power selection based on the number of samples present based on the WGCNA FAQs ( https://horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/faq.html)