BodenmillerGroup / cytomapper

R package for visualization of highly multiplexed imaging data
https://bodenmillergroup.github.io/cytomapper/
31 stars 9 forks source link

Implement cellDist function #44

Closed nilseling closed 3 years ago

nilseling commented 3 years ago

This function should return the mean pixel distance to the nearest cell-type, patch or whatever the user specifies.

jwindhager commented 3 years ago

As mentioned, I'd vote for min instead :)

nilseling commented 3 years ago

It's easier to compute this on the centroids rather than the pixels and I'll drop it for now.