Crandore Hub

pigauto

Fill in Missing Species Traits Using a Phylogenetic Tree

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>.

Versions across snapshots

VersionRepositoryFileSize
0.10.0 rolling linux/jammy R-4.5 pigauto_0.10.0.tar.gz 5.0 MiB
0.10.0 rolling linux/noble R-4.5 pigauto_0.10.0.tar.gz 5.0 MiB
0.10.0 rolling source/ R- pigauto_0.10.0.tar.gz 4.6 MiB
0.10.0 latest linux/jammy R-4.5 pigauto_0.10.0.tar.gz 5.0 MiB
0.10.0 latest linux/noble R-4.5 pigauto_0.10.0.tar.gz 5.0 MiB
0.10.0 latest source/ R- pigauto_0.10.0.tar.gz 4.6 MiB
0.10.0 2026-04-23 source/ R- pigauto_0.10.0.tar.gz 0 B

Dependencies (latest)

Imports

Suggests