smorabit / hdWGCNA

High dimensional weighted gene co-expression network analysis
https://smorabit.github.io/hdWGCNA/
Other
315 stars 31 forks source link

Question about weird soft power plot #228

Closed DelongZHOU closed 2 months ago

DelongZHOU commented 2 months ago

Hi, I'm having a wierd soft power plot for one of my cell types:

image

This also comes with a warning:

In min(.) : no non-missing arguments to min; returning Inf

What do you recommand to do in this case?

The plot for another cell type in the same data set looks fine: image

Edit: the celltype that poses problem is the one that previously didn't have enough cells when I used group by samples, here I'm grouping by condition. So this may be the underlying cause. Although another cell type with similar cell count (both ~300) ends up with >40 modules.

smorabit commented 2 months ago

Hi,

You may get poor results like this when you have very small clusters as you have described. I recommend not running hdWGCNA for very small clusters.

DelongZHOU commented 2 months ago

Alright thank you! Delong