quartetTallyCpp: Build quartet table from distances

View source: R/RcppExports.R

quartetTallyCppR Documentation

Build quartet table from distances

Description

This is a C++ function, called from quartetTable, to fill in the quartet counts. From a list of topological distance matrices (1 for each gene tree) it determines all gene quartets. It is not intended to be used as a stand-alone function, and hence not fully documented. The faster looping in C++ over R gives substantial time improvements

Usage

quartetTallyCpp(dList, M, nt, Q, random, progressbar = FALSE)

Arguments

dList

a list of distance matrices

M

number of sets of 4 taxa

nt

number of gene trees/distance matrices

Q

matrix to fill out as table of quartet counts

random

if 0 compute for all sets of 4 taxa, otherwise for M random ones

progressbar

if TRUE, display progress bar

See Also

quartetTable, quartetTableParallel


MSCquartets documentation built on Oct. 31, 2024, 1:08 a.m.