scanpy.pp.neighbors, I would like to use Spearman’s correlation for the metric. Since it’s not one of the listed options, I assume that I would have to create a callable per the API docs. Also since Spearman’s is the Pearson of the rankings, the function call should be compact.
However, I’m not clear from the docs how to do so. Does anyone have a working example/code?