Ripley L measure with n_observations
Open
@giovp is already working on this.
Since Mar 25, 2024.
diff analysis :bar_chart:
graph :spider_web:
- Dominant language
- Python
- Stars
- 598
- Forks
- 121
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 3
Description
Hi Squidpy team,
Regarding calculating the Ripley L measure for a given phenotype of cells, I understand that the null hypothesis assuming complete spatial randomness (CSR) should use the number of cells that belong to that phenotype while generating the L measures from simulations. Instead the current implementation uses the number of all cells in the simulations. There is actually a parameter called n_observations passed to the function. Shouldn't n_observations be the number cells for every phenotype?
Thanks.
...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.