Closed WangGuixiangCoder closed 8 months ago
When reducing the number of rows in the data, the error no longer occurs.
> gcm_1 = gcm[1:20000,]
> out <- computeHarmonics(gcm_1, knn_df, M, center, verbose = verbose)
Hi @WangGuixiangCoder, thanks for raising this issue! This overflow error happens due to the large number of cells and features. To mitigate this, we recommend doing feature selection before computing the BANKSY matrices. We will add functionality to support large feature sets in the near future.
Thanks!
Error occurred when using computeHarmonics()
the data
Error in
[.data.table
(knn_df, , abs(gcm[, to, drop = FALSE] %% (weight : negative length vectors are not allowed