get_infectionFrequenciesSubtrees: Parasite infection frequency per host subtree.

View source: R/stats.R

get_infectionFrequenciesSubtreesR Documentation

Parasite infection frequency per host subtree.

Description

The following function returns the fraction of infected host species within a subclade of a host tree that is specified by tips, a vector of tip labels.

Usage

get_infectionFrequenciesSubtrees(cophy, tips)

Arguments

cophy

a cophylogeny (object of class "cophylogeny") containing one host and one parasite tree.

tips

a vector of tip labels


JanEngelstaedter/cophy documentation built on Nov. 7, 2023, 9:37 a.m.