NbClust
函数通过不同的方法计算簇的数量,并使用多数规则选择出现次数最多的数量。但是我收到以下错误:
library(NbClust)
nb <- NbClust(ranked.expr,distance = NULL,min.nc = 2,max.nc = 10,method = "complete",index ="all")
但是我得到了错误:
Error in NbClust(ranked.exprs[1:2825,1:598],:
The TSS matrix is indefinite. There must be too many missing values. The index cannot be calculated.
任何提示都可能是什么原因,我该如何使其工作?