scverse / scverse/squidpy

Edge correction in `squidpy.gr.ripley`?

Open
#886 1 comment 0 reactions 1 assignee View on GitHub

@giovp is already working on this.

Since Sep 13, 2024.

enhancement :sparkles: graph :spider_web:
Dominant language
Python
Stars
598
Forks
121
Avg merge
3d 11h
Merged PRs (30d)
3

Description

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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.