bifrost: Branch-Level Inference Framework for Recognizing Optimal Shifts in Traits

Methods for detecting and visualizing cladogenic shifts in multivariate trait data on phylogenies. Implements penalized-likelihood multivariate generalized least squares models, enabling analyses of high-dimensional trait datasets and large trees via searchOptimalConfiguration(). Includes a greedy step-wise shift-search algorithm following approaches developed in Smith et al. (2023) <doi:10.1111/nph.19099> and Berv et al. (2024) <doi:10.1126/sciadv.adp0114>. Methods build on multivariate GLS approaches described in Clavel et al. (2019) <doi:10.1093/sysbio/syy045> and implemented in the mvgls() function from the 'mvMORPH' package. Documentation and vignettes are available at <https://jakeberv.com/bifrost/>, including the introductory vignette at <https://jakeberv.com/bifrost/articles/jaw-shape-vignette.html>.

Version: 0.1.3
Depends: R (≥ 4.1)
Imports: ape, future, future.apply, phytools, grDevices, stats, mvMORPH, viridis, txtplot
Suggests: HDInterval, RColorBrewer, boot, classInt, evd, fitdistrplus, knitr, palaeoverse, parallel, patchwork, pbmcapply, phylolm, readxl, rmarkdown, scales, testthat (≥ 3.0.0), univariateML, spelling, htmltools
Published: 2026-01-21
DOI: 10.32614/CRAN.package.bifrost (may not be active yet)
Author: Jacob S. Berv ORCID iD [aut, cre, cph, fnd], Nathan Fox ORCID iD [aut], Matthew J. Thorstensen ORCID iD [aut], Henry Lloyd-Laney ORCID iD [aut], Emily M. Troyer ORCID iD [aut], Stephen A. Smith ORCID iD [aut, fnd], Matt Friedman ORCID iD [aut, fnd], David F. Fouhey ORCID iD [aut, fnd], Brian C. Weeks ORCID iD [aut, fnd]
Maintainer: Jacob S. Berv <jacob.berv at gmail.com>
BugReports: https://github.com/jakeberv/bifrost/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://jakeberv.com/bifrost/, https://github.com/jakeberv/bifrost
NeedsCompilation: no
Language: en-US
Citation: bifrost citation info
Materials: README, NEWS
CRAN checks: bifrost results

Documentation:

Reference manual: bifrost.html , bifrost.pdf
Vignettes: Detecting Evolutionary Shifts in Paleozoic Fish Jaw Shape with bifrost (source, R code)

Downloads:

Package source: bifrost_0.1.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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