treestructure.test: Test the hypothesis that two clades within a tree were...

View source: R/m13.R

treestructure.testR Documentation

Test the hypothesis that two clades within a tree were generated by the same coalescent process.

Description

Test the hypothesis that two clades within a tree were generated by the same coalescent process.

Usage

treestructure.test(tre, x, y, nsim = 10000)

Arguments

tre

An ape::phylo tree, must be binary and rooted

x

A character vector of tip labels or numeric node numbers. If numeric, can include internal node numbers.

y

as x, but must be disjoint with x

nsim

Number of simulations (larger = slower and more accurate)


emvolz-phylodynamics/treestructure documentation built on March 1, 2025, 3:47 p.m.