What problem does it solve?
This Skill automates complete phylogenetic biogeographic analyses using BioGeoBEARS in R. It handles input validation, analysis setup, model comparison, and visualizations, dramatically reducing setup time and ensuring reproducible workflows.
Core Features & Use Cases
- Input validation and reformatting: checks phylogenetic trees and geography data, formats inputs for BioGeoBEARS.
- Automated workflow generation: creates an organized analysis folder structure and a customized RMarkdown script that fits multiple biogeographic models (DEC, DEC+J, DIVALIKE, DIVALIKE+J, BAYAREALIKE, BAYAREALIKE+J).
- Model comparison & visualization: compares models with AIC/AICc/AIC weights, and generates publication-ready visualizations (pie charts and text labels) of ancestral ranges.
- Use Case: Reconstruct ancestral ranges along a phylogeny and compare biogeographic models to infer dispersal/extinction patterns.
Quick Start
Gather your tree and geography files, then run the included workflow to execute a full BioGeoBEARS analysis with automatic results generation.