get_PHDistSubtreeCorrelation: Correlation between pairwise distances of associated hosts...

View source: R/stats.R

get_PHDistSubtreeCorrelationR Documentation

Correlation between pairwise distances of associated hosts and parasites by host subtree.

Description

Calculating the correlation between the distance matrixes of parasites and their associated hosts within subtrees specified by particular height. Requires at least three living parasites.

Usage

get_PHDistSubtreeCorrelation(cophy, h = NULL, k = NULL)

Arguments

cophy

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

h

numeric scalar or vector with heights where the tree should be cut.

k

an integer scalar or vector with the desired number of groups


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