YosefLab / Hotspot

https://hotspot.readthedocs.io/en/latest/
MIT License
95 stars 14 forks source link

add a parameter`n_jobs` in create_knn_graph() #12

Closed hanguojun007 closed 2 years ago

hanguojun007 commented 2 years ago

Hi, I hope this parameter can add in this function, or maybe I should learn some Class of python.~ and when i use the distence of about 100,000 cells, it is very slow.

adamgayoso commented 2 years ago

This is now addressed with approximate nearest neighbors

https://github.com/YosefLab/Hotspot/pull/14