pigauto
0.10.0Fill in Missing Species Traits Using a Phylogenetic Tree
Overview
Imputes missing species trait data for comparative analyses by combining three sources of information: phylogenetic similarity (closely related species share similar traits), cross-trait correlations (observed traits inform missing ones), and optional environmental covariates (climate, habitat, geography). Handles continuous measurements, counts, binary variables, ordered categories, unordered categories, bounded proportions, zero-inflated counts, and compositional multi-proportion data in a single call. The method blends a phylogenetic baseline with a graph neural network correction; a per-trait gate calibrated on held-out data ensures the network only contributes when it improves on the baseline. Provides conformal prediction intervals for continuous, count, and ordinal traits and an experimental analysis-aware multiple-imputation workflow for one missing continuous covariate in Gaussian linear, binomial-logit, and Gaussian random-intercept models, with Rubin pooling limited to fixed effects. Stochastic graph-network and posterior-tree completions are prediction diagnostics rather than validated inferential imputations. Tested up to 10,000 species. Bundled datasets include 300-species and 9,993-species bird-trait subsets with matching example phylogenetic trees. Rubin (1987, ISBN:978-0-471-08705-2); Vovk et al. (2005, ISBN:978-0-387-25061-8); Nakagawa and de Villemereuil (2019) doi:10.1093/sysbio/syy089.
Install
Health
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-08-019 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-07-317 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 39%
- Documented parameters
- 99%
- Return-value docs
- 100%
- References docs
- 10%
Downloads
Repository
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/itchyshin/pigauto on 2026-08-02.
Development tooling
Uses AI-assisted development tooling (declared in repo)
Earliest detected marker: claude on 2026-04-06
Most recent: claude on 2026-04-06
- claude: on 2026-04-06 · evidence B, D
- agents-md: on 2026-05-12 · evidence D
Dependencies
Nothing depends on this yet.
Code & Tests
Datasets
People & History
1 release. R releases are shown for context.
- 0.10.0Latest2026-07-30 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-07-30
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 2.2 MB / 6 files
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet