M3C icon indicating copy to clipboard operation
M3C copied to clipboard

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

Open bjgprt opened this issue 5 years ago • 1 comments

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)"

bjgprt avatar Feb 25 '20 17:02 bjgprt

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

1151k avatar Oct 15 '24 09:10 1151k