Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge correction in squidpy.gr.ripley? #886

Open
zsfrbkv opened this issue Sep 13, 2024 · 1 comment
Open

Edge correction in squidpy.gr.ripley? #886

zsfrbkv opened this issue Sep 13, 2024 · 1 comment
Assignees
Labels
enhancement ✨ New feature or request graph 🕸️

Comments

@zsfrbkv
Copy link

zsfrbkv commented Sep 13, 2024

Hi guys, thanks a lot for developing this package! I use it in my work pretty much daily.

I've been looking into different measures of how spatially clustered points can be, and decided to use your squidpy.gr.ripley function. However, after reading the book you cite ([Baddeley et al., 2015]) I can see that the authors recommend including some edge correction method to account for the points that are near the area edges and therefore might show a distorted clustering pattern which then will influence the plot and its assessment. I had a quick look at your code for the function and I believe you have not implemented any methods for edge correction. If this is correct, do you plan to do so?

Thanks!

@giovp
Copy link
Member

giovp commented Sep 16, 2024

hi @zsfrbkv , thank you for the interest and the appreciation!

You raised a very important point, and indeed we don't do edge-correction for the ripley functions. We currently do not plan to do so, but if you are interested in contributing, I'd be happy to support it! Is there any edge-correction method that you would recommend and is suitable to spatial omics data?

@giovp giovp added enhancement ✨ New feature or request graph 🕸️ labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request graph 🕸️
Projects
None yet
Development

No branches or pull requests

2 participants