plevritis-lab / CELESTA

Automate unsupervised machine learning cell type identification using both protein expressions and cell spatial neighborhood information for multiplexed in situ imaging data. No training dataset with cell type labels is required.
Apache License 2.0
29 stars 10 forks source link

pass in bandwidth argument to GetNeighborInfo #14

Closed dan11mcguire closed 2 years ago

dan11mcguire commented 2 years ago

Hi @weiruo16 @tassicalim , Currently the functions CreateCelestaObject and GetNeighborInfo have a "bandwidth" distance argument used in nearest neighbors calculation.

But this "bandwidth" parameter is always taking the default=100, because it's not being passed into GetNeighborInfo.

Here is a proposed fix. thanks for your work!

cc: @dnadave @NicoleEO

weiruo16 commented 2 years ago

We have fixed this under a different branch, and will soon merge into the main.