View source: R/SplitFunctions.R
CompatibleSplits | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.