Dear Author,
It is a great honor to use such a meaningful algorithm. While testing with my own 10x spatial transcriptomics data, I encountered the following error. Could you please provide me with some advice? Thank you very much!
> lsgi.res <- local.traj.preprocessing(spatial_coords = spatial_coords, n.grids.scale = 5, embeddings = embeddings, n.cells.per.meta = 25) Error in validate_input_optimal_anticlustering(x, K, "diversity", solver) : The selected method can only be used for equal-sized groups
And the following are my data:
Dear Author, It is a great honor to use such a meaningful algorithm. While testing with my own 10x spatial transcriptomics data, I encountered the following error. Could you please provide me with some advice? Thank you very much!
> lsgi.res <- local.traj.preprocessing(spatial_coords = spatial_coords, n.grids.scale = 5, embeddings = embeddings, n.cells.per.meta = 25)
Error in validate_input_optimal_anticlustering(x, K, "diversity", solver) : The selected method can only be used for equal-sized groups
And the following are my data:Thank you very much for your help!