ANTsX / ANTsR

R interface to the ANTs biomedical image processing library
https://antsx.github.io/ANTsR
Apache License 2.0
127 stars 35 forks source link

Error #369

Closed Ali-Mahzarnia closed 1 year ago

Ali-Mahzarnia commented 1 year ago

We took the function knnSmoothingMatrix() from https://codeocean.com/capsule/9877797/tree/v2 the file: simlr_PTBP_supervised_learning.Rmd

smoothingMatrix = knnSmoothingMatrix( spatmat, k = 25, sigma = 3.0 ) Error in RcppHNSW::hnsw_knn(t(x), k = k, M = 16, ef = efval, distance = "euclidean", : is.numeric(n_threads) && length(n_threads) == 1 && n_threads >= .... is not TRUE