scRank icon indicating copy to clipboard operation
scRank copied to clipboard

Error about init_mod(obj)

Open codedic opened this issue 1 year ago • 1 comments

Hi, sorry to disturb When I run obj <- init_mod(obj), I get this error 微信图片_20241125094903

[1] "No module detected" Error in stats::cutree(hclust_out, length(unique(gene_groups)) - 1) : elements of 'k' must be between 1 and 13 I don't know how to fix it

codedic avatar Nov 25 '24 02:11 codedic

Hi @codedic. The error that occurs may be due to the default min_ModuleSize parameter in the init_mod function is set too small for your dataset, which causes the Dynamic cutree to fail. You can try increasing the min_ModuleSize parameter to a larger value (like 30) and then rerun the analysis. This should resolve the issue.

Lee0498 avatar Nov 28 '24 01:11 Lee0498