Skip to content

Commit 4374ef8

Browse files
committed
Version: 2.13.0.9002
1 parent 1ad6abc commit 4374ef8

File tree

4 files changed

+23
-24
lines changed

4 files changed

+23
-24
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: TreeDist
22
Title: Calculate and Map Distances Between Phylogenetic Trees
3-
Version: 2.13.0.9001
3+
Version: 2.13.0.9002
44
Authors@R: c(person("Martin R.", "Smith",
55
email = "martin.smith@durham.ac.uk",
66
role = c("aut", "cre", "cph", "prg"),

NEWS.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
1-
<!-- AI-generated branch summary (2026-03-22) -->
2-
# Branch: `transfer-consensus` → merge target: `main`
3-
4-
This branch exposes the LAPJV (Jonker–Volgenant) linear assignment solver
5-
via C++ headers so that downstream packages can link to it (`LinkingTo`),
6-
and implements a transfer consensus method (`TransferConsensus()`,
7-
`TransferDist()`). It also tightens error handling by moving all
8-
`Rcpp::stop()` / `Rf_error()` calls out of C++ implementation code
9-
into R-level input validation.
10-
11-
# TreeDist 2.13.0.9001
12-
13-
This branch implements transfer consensus trees (`TransferConsensus()`) and
14-
a corresponding transfer distance metric (`TransferDist()`), providing a
15-
consensus method based on the transfer distance rather than the majority-rule
16-
or strict approaches. Error handling in C++ code is tightened to validate
17-
inputs at the R level rather than using `Rcpp::stop()` or `Rf_error()` in
18-
implementation code.
19-
<!-- end AI-generated summary -->
1+
# TreeDist 2.13.0.9002
2+
3+
## New features
4+
5+
- `TransferConsensus()` constructs a consensus tree that minimizes the sum
6+
of transfer distances to a set of input trees, using a greedy
7+
add-and-prune heuristic. Unlike majority-rule consensus, which can be
8+
highly unresolved when phylogenetic signal is diffuse, the transfer
9+
consensus uses the finer-grained transfer distance to produce more
10+
resolved trees.
11+
12+
- `TransferDist()` computes the transfer dissimilarity between phylogenetic
13+
trees, with scaled and unscaled variants. Supports all-pairs, cross-pairs,
14+
and single-pair computations.
15+
16+
- LAP (Jonker–Volgenant linear assignment) and MCI (Mutual Clustering
17+
Information) C++ implementations are now exposed via `inst/include/TreeDist/`
18+
headers, allowing downstream packages to use `LinkingTo: TreeDist`.
2019

2120
## Performance
2221

codemeta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"codeRepository": "https://github.com/ms609/TreeDist/",
99
"issueTracker": "https://github.com/ms609/TreeDist/issues/",
1010
"license": "https://spdx.org/licenses/GPL-3.0",
11-
"version": "2.13.0.9001",
11+
"version": "2.13.0.9002",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",
1515
"url": "https://r-project.org"
1616
},
17-
"runtimePlatform": "R version 4.5.3 (2026-03-11)",
17+
"runtimePlatform": "R Under development (unstable) (2025-11-23 r89052 ucrt)",
1818
"provider": {
1919
"@id": "https://cran.r-project.org",
2020
"@type": "Organization",
@@ -505,7 +505,7 @@
505505
"SystemRequirements": "C++17, pandoc-citeproc"
506506
},
507507
"keywords": ["phylogenetics", "tree-distance"],
508-
"fileSize": "1926.086KB",
508+
"fileSize": "2121.415KB",
509509
"citation": [
510510
{
511511
"@type": "ScholarlyArticle",

src/reduce_tree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ extern Rcpp::List reduce_trees(
4141
const CharacterVector original_label
4242
);
4343

44-
#endif
44+
#endif

0 commit comments

Comments
 (0)