Quartet: Comparison of Phylogenetic Trees Using Quartet and Split Measures

Calculates the number of four-taxon subtrees consistent with a pair of cladograms, calculating the symmetric quartet distance of Bandelt & Dress (1986), Reconstructing the shape of a tree from observed dissimilarity data, Advances in Applied Mathematics <doi:10.1016/0196-8858(86)90038-2>, using the tqDist algorithm of Sand et al. (2014), tqDist: a library for computing the quartet and triplet distances between binary or general trees, Bioinformatics <doi:10.1093/bioinformatics/btu157> for pairs of binary trees; calculating the rooted triplet distance using the CPDT algorithm of Jansson & Rajaby (2017), A more practical algorithm for the rooted triplet distance, Journal of Computational Biology <doi:10.1089/cmb.2016.0185>.

Version: 1.4.0
Depends: R (≥ 3.6.0), TreeTools (≥ 1.4.0)
Imports: ape, PlotTools, Rdpack (≥ 0.7), Ternary (≥ 1.0)
LinkingTo: Rcpp, TreeTools
Suggests: bookdown, knitr, phangorn, rmarkdown, testthat, TreeDist, usethis, vdiffr
Published: 2026-09-22
DOI: 10.32614/CRAN.package.Quartet
Author: Martin R. Smith ORCID iD [aut, cre, cph], Jesper Jansson ORCID iD [ctb, cph], Ramesh Rajaby [ctb, cph], Andreas Sand [ctb, cph], Gerth Stølting Brodal [ctb, cph], Rolf Fagerberg [ctb, cph], Thomas Mailund [ctb, cph], Christian N. S. Pedersen ORCID iD [ctb, cph], Jens Johansen [ctb, cph], Morten K. Holt [ctb, cph]
Maintainer: Martin R. Smith <martin.smith at durham.ac.uk>
BugReports: https://github.com/ms609/Quartet/issues/
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: Incorporates code modified from tqDist <doi:10.1093/bioinformatics/btu157> and from CPDT-dist <doi:10.1089/cmb.2016.0185>.
Quartet copyright details
URL: https://ms609.github.io/Quartet/, https://github.com/ms609/Quartet/
NeedsCompilation: yes
Language: en-GB
Citation: Quartet citation info
Materials: README, NEWS
In views: Phylogenetics
CRAN checks: Quartet results

Documentation:

Reference manual: Quartet.html , Quartet.pdf
Vignettes: About the quartet distance (source, R code)
Getting started with Quartet (source, R code)

Downloads:

Package source: Quartet_1.4.0.tar.gz
Windows binaries: r-devel: Quartet_1.3.0.zip, r-release: Quartet_1.3.0.zip, r-oldrel: Quartet_1.4.0.zip
macOS binaries: r-release (arm64): Quartet_1.4.0.tgz, r-oldrel (arm64): Quartet_1.4.0.tgz, r-release (x86_64): Quartet_1.4.0.tgz, r-oldrel (x86_64): Quartet_1.4.0.tgz
Old sources: Quartet archive

Reverse dependencies:

Reverse suggests: CongreveLamsdell2016, ConsTree, TreeDist, TreeSearch

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Quartet to link to this page.