paco_links: Contribution of individual links

Description Usage Arguments Value Examples

Description

Uses a jackknife procedure to estimate the degree to which individual interactions are more supportive of a hypothesis of phylogenetic congruence than others. Interactions are iteratively removed, the global fit of the two phylogenies is reassessed and the difference between global fit with and without an interaction estimates the strength of support of said interaction to a hypothesis of phylogenetic congruence.

Usage

1
paco_links(D, .parallel = FALSE, proc.warnings = TRUE)

Arguments

D

A list of class paco as returned by paco::PACo.

.parallel

If TRUE, calculate the jackknife contribution in parallel using the backend provided by foreach.

proc.warnings

As in PACo. If TRUE, any warnings produced by internal calls of paco::PACo will be available for the user to view. If FALSE, warnings are internally suppressed.

Value

The input list of class paco with the added object jackknife which containing the mean and upper CI values for each link.

Examples

1
2
3
4
5
6
7
8
data(gopherlice)
require(ape)
gdist <- cophenetic(gophertree)
ldist <- cophenetic(licetree)
D <- prepare_paco_data(gdist, ldist, gl_links)
D <- add_pcoord(D)
D <- PACo(D, nperm=10, seed=42, method="r0")
D <- paco_links(D)

PoisotLab/paco documentation built on May 8, 2019, 3:09 p.m.