crj32 / M3C

Monte Carlo Reference-based Consensus Clustering
https://bioconductor.org/packages/release/bioc/html/M3C.html
36 stars 15 forks source link

kmean error: number of cluster centres must lie between 1 and nrow(x) #4

Open bjgprt opened 4 years ago

bjgprt commented 4 years ago

Could you help me to take a look at this error? Thanks a lot!

environment: R 3.6 with the latest version in the docker images: https://hub.docker.com/r/bioconductor/bioconductor_docker

Data: 1000 row * 8 columns

Command: res <- M3C(mydata, removeplots = FALSE, iters=25, maxK=12, clusteralg = "km")

Error messages:
M3C method: Monte Carlo simulation clustering algorithm: km annotation: none running simulations... |======================================================================| 100%Error in { : task 1 failed - "number of cluster centres must lie between 1 and nrow(x)"

1151k commented 3 weeks ago

Experience the same issue.. Did you solve this in the end?