scverse / scverse/squidpy

Ripley L measure with n_observations

Open
#813 0 comments 0 reactions 1 assignee View on GitHub

@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?

image

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.