navinlabcode / copykat

Other
204 stars 54 forks source link

issue in sample with 2 clusters from cutree function #23

Closed rr1859 closed 3 years ago

rr1859 commented 3 years ago

Hi,

I ran into an issue with my sample in line 308-322 in copykat.R. Specifically when the cutree function on line 308 returns only 2 clusters. None of the cells get labelled as diploid and therefore I get a NaN matrix from line 325.

table(hc.umap) hc.umap 1 2 587 167 cl.ID [1] 1 1 which(com.pred=="diploid") named integer(0)

Thanks!

Ramya

rr1859 commented 3 years ago

please ignore - it was an issue with the normal cell labels!