navinlabcode / copykat

Other
203 stars 54 forks source link

Error in hclust(parallelDist::parDist(t(tumor.mat), threads = 4, method = "euclidean"), : must have n >= 2 objects to cluster #110

Closed LeaLe88 closed 6 months ago

LeaLe88 commented 6 months ago

Good afternoon,

I am getting the same issue as reported in issue 38: https://github.com/navinlabcode/copykat/issues/38 when running this part of step 5 of the breast cancer example:

hcc <- hclust(parallelDist::parDist(t(tumor.mat),threads =4, method = "euclidean"), method = "ward.D2")

Error:

Error in hclust(parallelDist::parDist(t(tumor.mat), threads = 4, method = "euclidean"),  : 
must have n >= 2 objects to cluster

It was reported in issue 38 that the issue was fixed, but it seems not the case?

Thank you!

LeaLe88 commented 6 months ago

solved.