| CompatibleSplits {TreeTools} | R Documentation |
Which splits are compatible?
CompatibleSplits(splits, splits2) .CompatibleSplit(a, b, nTip) .CompatibleRaws(rawA, rawB, bitmask)
splits |
An object of class |
splits2 |
A second |
a, b |
Raw representations of splits, from a row of a |
rawA, rawB |
Raw representations of splits. |
bitmask |
Raw masking bits that do not correspond to tips. |
CompatibleSplits returns a logical matrix specifying whether each
split in splits is compatible with each split in splits2.
.CompatibleSplit returns a logical vector stating whether splits
are compatible.
.CompatibleRaws returns a logical vector specifying whether input
raws are compatible.
Martin R. Smith (martin.smith@durham.ac.uk)
splits <- as.Splits(BalancedTree(8)) splits2 <- as.Splits(PectinateTree(8)) summary(splits) summary(splits2) CompatibleSplits(splits, splits2)