You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
When using the findModules() function, I wanted to change the number of modules and noticed that findModules() calls cutreeHybrid(). In cutreeHybrid(), there is a minModuleSize parameter. So, I executed:
However, I encountered an error: WGCNA.cutreeHybrid() got an unexpected keyword argument 'minModuleSize'.
I then checked the script wgcna.py at line 331 (see the image below) and found that minClusterSize is a fixed value, meaning it cannot be directly changed within the findModules() function.
However, I discovered that minModuleSize can be modified in the PyWGCNA.WGCNA() function.
I would like to ask why it is set up this way—is there a specific reason? If I want to change the number of modules, can I adjust the deepSplit parameter in findModules() and the minModuleSize in PyWGCNA.WGCNA()? Or are there other parameters I can tweak?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi!
When using the findModules() function, I wanted to change the number of modules and noticed that findModules() calls cutreeHybrid(). In cutreeHybrid(), there is a minModuleSize parameter. So, I executed:
pyWGCNA_object.findModules(kwargs_function={'cutreeHybrid': {'deepSplit': 2, 'pamRespectsDendro': False, 'minModuleSize': 50}})
However, I encountered an error: WGCNA.cutreeHybrid() got an unexpected keyword argument 'minModuleSize'.
I then checked the script wgcna.py at line 331 (see the image below) and found that minClusterSize is a fixed value, meaning it cannot be directly changed within the findModules() function.
However, I discovered that minModuleSize can be modified in the PyWGCNA.WGCNA() function.
I would like to ask why it is set up this way—is there a specific reason? If I want to change the number of modules, can I adjust the deepSplit parameter in findModules() and the minModuleSize in PyWGCNA.WGCNA()? Or are there other parameters I can tweak?
Thanks.
The text was updated successfully, but these errors were encountered: