MSCquartets3.0 package

Analyzing Gene Tree Quartets under the Multi-Species Coalescent

allPerms

Generate permutations

blobDistance

Compute empirical distance between taxon groups.

BQinference

Main loop of B-quartet inference

circHybOrders

Generate all circular orders with designated hybrid

collapseEdges

Collapse short tree edges

combineCycleResolutions

Combine several cycle resolutions on a tree of blobs to create a netwo...

compatibleSplits

Extract compatible splits

cutDensity

Probability density function for Cut Model

dataGeneTreeSample

Simulated gene tree dataset from species tree

dataPapioniniVanderpool

Papionini gene tree dataset

dataYeastRokas

Yeast gene tree dataset

estimateEdgeLengths

Estimate edge lengths on a species tree from gene tree quartet counts

expectedCFs

Produce table of expected quartet concordance factors for a species tr...

expmodNANUQCycleDist

Expected modNANUQ cycle distance

expNANUQCycleDist

Expected NANUQ cycle distance

fitCycleOrders

Compute fit of circular orders to distance with least squares

HolmBonferroni

Apply Holm-Bonferroni method to adjust for multiple tests

initBquartets

Initialize vector of B quartets

labelIntNodes

Label internal nodes on tree

M0

Modified Struve function

MSCquartets-package

Multispecies Coalescent Model Quartet Package

NANUQ

Apply NANUQ network inference algorithm to gene tree data

NANUQdist

Compute NANUQ distance and write to file

nexusDist

Write a distance table to a file in nexus format

nodeGroups

Groups taxa by deleting a node in a tree

ordersHeuristicmodNANUQ

Choose cycle orders heuristically from empirical modNANUQ distance

powerDivStat

Power divergence statistic of Cressie & Read

pvalHist

Plot histogram of log p-values in table

QDC

Compute Quartet Distance Consensus tree from gene tree data

QDS

Compute Quartet Distance Supertree

quartetBTinferencePlot

Produce simplex plot with results of B/T-quartet inference

quartetCutMLE

Maximum likelihood estimate of quartet tree of blobs topology and CF u...

quartetCutTest

Hypothesis test for quartet counts fitting a resolved quartet tree of ...

quartetCutTestInd

Multiple independent hypothesis tests for quartet counts fitting the C...

quartetDist

Compute quartet distance between taxa

quartetNetworkDist

Compute network quartet distance between taxa

quartetStarTest

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

quartetStarTestInd

Multiple independent hypothesis tests for gene quartet counts fitting ...

quartetTable

Produce table of counts of quartets displayed on trees

quartetTableCollapse

Reduce quartet table by combining some taxa

quartetTableDominant

Produce table of dominant quartets, with estimates of internal edge le...

quartetTableParallel

Produce table of counts of quartets displayed on trees, in parallel fo...

quartetTablePrint

Print a quartet table with nice formatting

quartetTableResolved

Modify quartet table to show only resolved quartets

quartetTallyCpp

Build quartet table from distances

quartetTestPlot

Produce simplex plot with results of quartet hypothesis tests

quartetTreeErrorProb

Bayesian posterior probability of error in 4-taxon unrooted species tr...

quartetTreeTest

Hypothesis test for quartet counts fitting a tree under the MSC

quartetTreeTestInd

Multiple independent hypothesis tests for quartet counts fitting a spe...

quartetWeightedDist

Compute the Weighted Quartet Distance between taxa

resolveCycle

Resolve a node on a tree of blobs as a cycle

resolveLevel1

Resolve Tree of Blobs to Level-1 network

simplexCoords

Convert 3-d coordinates to 2-d probability simplex coordinates

simplexLabels

Label vertices of 2-d probability simplex

simplexPoint

Plot point in 2-d probability simplex

simplexPrepare

Draw 2-d probability simplex, with model lines for T3 or T1 model

simplexSegment

Plot line segment in 2-d probability simplex

simplexText

Add text at a point in 2-d probability simplex

sortQuartetTableRows

Sort quartet table rows by lex order

T1density

Probability density function for Model T1

T3density

Probability density function for Model T3

taxonNames

Get all taxon names from a collection of trees

TINNIK

TINNIK algorithm to infer species tree of blobs

TINNIKdist

Compute TINNIK distance from quartets and hypothesis test p-values

topDist

Topological distances on a tree

treeFromSplits

Produce tree from compatible splits

treeOfBlobs

Tree of blobs for a network

WQDC

Compute Weighted Quartet Distance Consensus tree from gene tree data

WQDCrecursive

Compute the Recursive Weighted Quartet Distance Consensus tree from ge...

WQDS

Compute the Weighted Quartet Distance Supertree

WQDSAdjustLengths

Adjust edge lengths on tree built from Weighted Quartet distance to es...

Methods for analyzing and using quartets displayed on a collection of gene trees, primarily to make inferences about the species tree or network under the multi-species coalescent model. These include quartet hypothesis tests for the model, as developed by Mitchell et al. (2019) <doi:10.1214/19-EJS1576>, simplex plots of quartet concordance factors as presented by Allman et al. (2020) <doi:10.1101/2020.02.13.948083>, species tree inference methods based on quartet distances of Rhodes (2019) <doi:10.1109/TCBB.2019.2917204> and Yourdkhani and Rhodes (2019) <doi:10.1007/s11538-020-00773-4>, the NANUQ algorithm for inference of level-1 species networks of Allman et al. (2019) <doi:10.1186/s13015-019-0159-2>, the TINNIK algorithm for inference of the tree of blobs of an arbitrary network of Allman et al.(2022) <doi:10.1007/s00285-022-01838-9>, and NANUQ+ routines for resolving multifurcations in the tree of blobs to cycles as in Allman et al.(2024) (forthcoming). Software announcement by Rhodes et al. (2020) <doi:10.1093/bioinformatics/btaa868>.

  • Maintainer: John Rhodes
  • License: MIT + file LICENSE
  • Last published: 2024-10-30