Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

quartetStarTest

Hypothesis test for quartet counts fitting a star tree under the MSC


Description

Perform hypothesis test for star tree for a vector of quartet counts to fit expected frequencies of (1/3,1/3,1/3). The test performed is a standard Chi-square with 2 degrees of freedom.

Usage

quartetStarTest(obs)

Arguments

obs

vector of 3 counts of resolved quartet frequencies

Value

p-value

Examples

obs=c(16,72,12)
quartetStarTest(obs)

MSCquartets

Analyzing Gene Tree Quartets under the Multi-Species Coalescent

v1.1.0
MIT + file LICENSE
Authors
Elizabeth Allman [aut], Hector Banos [aut], Jonathan Mitchell [aut], John Rhodes [aut, cre] (<https://orcid.org/0000-0001-9921-1091>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.