Add scXMatch to tools (statistical test for global distribution shifts)
Los mantenedores suelen responder en 1 día
@annmoel ya está trabajando en esto.
Desde el 8/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Description of feature
Hello @Zethson and fellow pertpy people,
first of all thank you for all your work, it has really made my life easier in many aspects. Most recently for the validation and benchmarking of scXMatch, a statistical test for multivariate data that has just been published in Bioinformatics (paper: https://academic.oup.com/bioinformatics/article/42/10/btag706/8860685, code: https://github.com/bionetslab/scxmatch). The test is non-parametric, does not assume an underlying distribution, works on any data for which a suitable distance measure is available (we validated on scRNA-seq, scATAC-seq, and morphology data), and scales nicely to realistically sized experiments. It's already part of the scverse ecosystem.
We were thinking that this might be a good addition to Pertpy.Tools. Unfortunately, the current (very fast) implementation is based on graph-tool with C++ dependencies (not pip-installable). To get around this, we would suggest that the matching step happens backend-agnostic, with networkx as default (pure python, lightweight, but slower on large datasets), while graph-tool stays available as optional backend. If someone requests it without having it installed, they would get a message explaining that it has to be installed via conda or pixi.
Are you generally open to this? If so, I would prepare the PR with both backends adding pertpy.Tools.scXMatch and keep things analogous to pertpy.Tools.Distance.
Looking forward to hearing what you think!
Best regards,
Anna
- Lenguaje dominante
- Python
- Estrellas
- 362
- Forks
- 73
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 25
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de scverse/pertpy
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
scverse/pertpy#1222 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
scverse/pertpy#1221 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
scverse/pertpy#1220 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Remove anndata pin when 0.14.0 is releasedQuizá libre de nuevo @Zethson la tomó hace 118 días y no hay ningún pull request abierto. Abierto
scverse/pertpy#1071 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
Todos los issues de scverse/pertpy
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
fossasia/eventyay-exhibition#465 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area/webapp comp/desktop P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NousResearch/hermes-agent#163341 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
cpp-best-practices/project_validator#609 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
smart-village-solutions/smart-speech-flow#765 ·
Los mantenedores suelen responder en 1 día