Skip to contents

The evolnets package provides three categories of important functions: rates, ancestral states and samples.

Rates

These functions are used to calculate effective rates of host-repertoire evolution: effective_rate( ), count_events( ), rate_gl( ), count_gl( ).

Ancestral states

These functions are used to calculate the posterior probabilities of host-parasite interactions at internal nodes of the parasite tree or at specific time points in the past: posterior_at_nodes( ), posterior_at_ages( ).

Samples

These functions perform calculations for each sampled host-parasite network during MCMC: samples_at_ages( ), Q_posterior_at_ages( ), NODF_posterior_at_ages( ).

More information

Run vignette("intro_to_evolnets") for an example of how to use the package.