CompareSplits {Quartet}R Documentation

Compare status of splits

Description

Reports whether splits are present or contradicted in a set of reference splits.

Usage

CompareSplits(splits, splits2)

CompareBipartitions(splits, splits2)

Arguments

splits

An object that can be coerced into class Splits using as.Splits.

splits2

Splits against which to compare splits.

Value

A named vector of eight integers, listing the number of unique splits that:

Author(s)

Martin R. Smith (martin.smith@durham.ac.uk)

References

See Also

Equivalent function for quartets: CompareQuartets()

Other element-by-element comparisons: CompareQuartetsMulti(), CompareQuartets(), PairSharedQuartetStatus(), QuartetState(), SharedQuartetStatus(), SplitStatus()

Examples

splits1 <- TreeTools::BalancedTree(8)
splits2 <- TreeTools::PectinateTree(8)

CompareSplits(splits1, splits2)
        

[Package Quartet version 1.2.6 Index]