Skip to content

Conversation

@Neclow
Copy link
Collaborator

@Neclow Neclow commented Jan 26, 2026

Implement Robinson-Foulds distance computation across Rust, Python, and R:

  • Core algorithm in phylo2vec/src/vector/distances.rs using bipartition sets
  • Python wrapper in py-phylo2vec/phylo2vec/stats/treewise.py
  • R wrapper in r-phylo2vec/R/stats.R with extendr binding
  • Comprehensive tests validating against ete4 (Python) and TreeDist (R)
  • Optional normalization by maximum possible RF distance

Add r-treedist as platform-specific dependency (linux-64, osx-64, win-64) for R test validation.

Neclow and others added 7 commits January 26, 2026 13:14
Implement Robinson-Foulds distance computation across Rust, Python, and R:
- Core algorithm in phylo2vec/src/vector/distances.rs using bipartition sets
- Python wrapper in py-phylo2vec/phylo2vec/stats/treewise.py
- R wrapper in r-phylo2vec/R/stats.R with extendr binding
- Comprehensive tests validating against ete4 (Python) and TreeDist (R)
- Optional normalization by maximum possible RF distance

Add r-treedist as platform-specific dependency (linux-64, osx-64, win-64)
for R test validation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Separate the Python version change from this PR to fix lock file sync.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The function was incorrectly renamed during regeneration, breaking utils.R.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Neclow Neclow merged commit 4846a79 into sbhattlab:main Jan 26, 2026
8 checks passed
@Neclow Neclow deleted the feat/robinson-foulds branch January 26, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant