mortazavilab / PyWGCNA

PyWGCNA is a Python package designed to do Weighted Gene Correlation Network analysis (WGCNA)
https://academic.oup.com/bioinformatics/advance-article/doi/10.1093/bioinformatics/btad415/7218311
MIT License
209 stars 48 forks source link

"unsigned" option not working #51

Closed hamiltonoh closed 1 year ago

hamiltonoh commented 1 year ago

Hi,

I've set the networkType="unsigned" and TOMType="unsigned", and use obj.findModules(), but after calculating adjacency matrix ... Done ...

I get the following error:

"An exception has occurred, use %tb to see the full traceback.

SystemExit: 'TOMType' cannot be 'none' for this function."

Maybe TOMType="unsigned" is not necessary as long as the networkType is already unsigned? Please let me know. Overall great package and thanks in advance!

Best, Hamilton

nargesr commented 1 year ago

Hi,

I believe you don't have the right version of the package (the last one is 1.2.4 which should be fine with the setup you have)