Add scXMatch to tools (statistical test for global distribution shifts)
Maintainer thường phản hồi trong vòng 1 ngày
@annmoel đang làm issue này rồi.
Từ ngày 8/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 362
- Fork
- 73
- Merge trung bình
- 1 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 25
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của scverse/pertpy
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
scverse/pertpy#1222 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
scverse/pertpy#1221 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
scverse/pertpy#1220 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Remove anndata pin when 0.14.0 is releasedCó thể làm lại được @Zethson đã nhận 118 ngày trước và không có pull request nào đang mở. Đang mở
scverse/pertpy#1071 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của scverse/pertpy
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
fossasia/eventyay-exhibition#465 · 3 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/webapp comp/desktop P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-agent#163341 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
cpp-best-practices/project_validator#609 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
smart-village-solutions/smart-speech-flow#765 ·
Maintainer thường phản hồi trong vòng 1 ngày