Package: bifrost 0.1.4

Jacob S. Berv

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 worked examples for the jaw-shape dataset.

Authors:Jacob S. Berv [aut, cre, cph, fnd], Nathan Fox [aut], Matt J. Thorstensen [aut], Henry Lloyd-Laney [aut], Emily M. Troyer [aut], Rafael A. Rivero-Vega [aut], Stephen A. Smith [aut, fnd], Matt Friedman [aut, fnd], David F. Fouhey [aut, fnd], Brian C. Weeks [aut, fnd]

bifrost_0.1.4.tar.gz
bifrost_0.1.4.tar.gz(r-4.7-any)bifrost_0.1.4.tar.gz(r-4.6-any)
bifrost_0.1.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
bifrost/json (API)

# Install 'bifrost' in R:
install.packages('bifrost', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jakeberv/bifrost/issues

Pkgdown/docs site:https://jakeberv.com

On CRAN:

Conda:

3.34 score 11 scripts 577 downloads 3 exports 61 dependencies

Last updated from:7e6babf2b2. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK209
source / vignettesOK247
linux-release-x86_64OK210
wasm-releaseOK163

Exports:generateViridisColorScaleplot_ic_acceptance_matrixsearchOptimalConfiguration

Dependencies:apecliclusterGenerationcodacodetoolscombinatcorpcorcpp11DEoptimdigestdoParalleldotCall64expmfarverfastmatchforeachfuturefuture.applygenericsggplot2glassoFastglobalsgluegridExtragtableigraphisobanditeratorslabelinglatticelifecyclelistenvmagrittrmapsMASSMatrixmnormtmvMORPHnlmenumDerivoptimParallelparallellypbmcapplyphangornphytoolspkgconfigquadprogR6RColorBrewerRcpprlangS7scalesscatterplot3dspamsubplextxtplotvctrsviridisviridisLitewithr

Quick Start with bifrost
Overview | Minimal worked example | Before you run on real data | How the search works | High-level workflow | Core functions | Reading the result | Practical guidance

Last update: 2026-04-17
Started: 2026-04-17

Detecting Evolutionary Shifts in Paleozoic Fish Jaw Shape with bifrost
Introduction 🐠 | Setup | Loading the Data | Running an example workflow | The Function Call | Understanding the primary input options | Interpreting the Output | Inspecting the search behavior | Generating a preliminary branch-rate plot | Other key output | Conclusion

Last update: 2026-01-21
Started: 2026-01-21