squidpy icon indicating copy to clipboard operation
squidpy copied to clipboard

Use radius graph for co-occurrence score

Open giovp opened this issue 4 years ago • 1 comments

Description

The way we are doing the co-occurrence score is really ugly and it should be rewritten. We should remove the euclidean distance and use the graph computed with a fixed radius (from spatial_neighbors function). ...

Minimal reproducible example

...

Traceback

...

Version

...

giovp avatar Oct 26 '21 11:10 giovp

this would require to explicitly tell user that a new neighbor_graph will be re-run (but will not modify the anndata). I think it's a sensible solution but would change the behaviour quite a bit.

giovp avatar Jan 07 '22 09:01 giovp