Learn R Programming

aphylo (version 0.3-5)

Statistical Inference and Prediction of Annotations in Phylogenetic Trees

Description

Implements a parsimonious evolutionary model to analyze and predict gene-functional annotations in phylogenetic trees as described in Vega Yon et al. (2021) . Focusing on computational efficiency, 'aphylo' makes it possible to estimate pooled phylogenetic models, including thousands (hundreds) of annotations (trees) in the same run. The package also provides the tools for visualization of annotated phylogenies, calculation of posterior probabilities (prediction) and goodness-of-fit assessment featured in Vega Yon et al. (2021).

Copy Link

Version

Install

install.packages('aphylo')

Monthly Downloads

108

Version

0.3-5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

George Vega Yon

Last Published

November 20th, 2025

Functions in aphylo (0.3-5)

aphylo_mle

Model estimation using Maximum Likelihood Estimation
imputate_duplications

Impute duplication events based on a vector of species
plot_multivariate

Multiavariate plot (surface)
posterior-probabilities

Posterior probabilities based on parameter estimates
prediction_score

Calculate prediction score (quality of prediction)
plot.aphylo_prediction_score

Visualize predictions
plot_logLik

Plot Log-Likelihood function of the model
raphylo

Simulation of Annotated Phylogenetic Trees
sim_fun_on_tree

Simulate functions on a ginven tree
multiAphylo

Building Lists of Annotated Trees
mislabel

Switch labels acoording to mislabeling probabilities
read_pli

Read PLI files from SIFTER
list_offspring

List each nodes' offspring or parent
write_pli

Write pli files used by SIFTER
panther-tree

Reads PANTHER db trees
read_nhx

Read New Hampshire eXtended format for trees
dist2root

Pointer to pruner
states

Matrix of states
sim_tree

Random tree generation
rdrop_annotations

Randomly drop leaf annotations
accuracy_sifter

Accuracy calculation as defined in Engelhardt et al. (2011)
aphylo_from_data_frame

Create an aphylo object with partial annotations
LogLike

Likelihood of an observed annotated phylogenetic tree
aphylo_estimates

Objects of class aphylo_estimates
fakeexperiment

Fake Experimental Data
faketree

Fake Phylogenetic Tree
ape-methods

Available methods from the APE package
aphylo-class

Annotated Phylogenetic Tree
bprior

Default priors for aphylo_mcmc
balance_ann

Functional balance of a tree
aphylo-index

Indexing aphylo objects
aphylo-model

Formulas in aphylo
aphylo-methods

Plot and print methods for aphylo objects
aphylo-info

Information about aphylo and multiAphylo objects
APHYLO_DEFAULT_MCMC_CONTROL

Model estimation using Markov Chain Monte Carlo
aphylo-package

Statistical Inference in Annotated Phylogenetic Trees
auc

Area Under the Curve and Receiving Operating Curve
aphylo_cv

Leave-one-out Cross Validation
as.phylo

Extensions to the as.phylo function