View source: R/tree_properties.R
| NSplits | R Documentation |
NSplits() counts the unique bipartition splits in a tree or object.
NSplits(x)
NPartitions(x)
## S3 method for class 'phylo'
NSplits(x)
## S3 method for class 'list'
NSplits(x)
## S3 method for class 'multiPhylo'
NSplits(x)
## S3 method for class 'Splits'
NSplits(x)
## S3 method for class 'numeric'
NSplits(x)
## S3 method for class ''NULL''
NSplits(x)
## S3 method for class 'ClusterTable'
NSplits(x)
## S3 method for class 'character'
NSplits(x)
x |
A phylogenetic tree of class |
NSplits() returns an integer specifying the number of bipartitions in
the specified objects, or in a binary tree with x tips.
Martin R. Smith (martin.smith@durham.ac.uk)
Other tree properties:
ConsensusWithout(),
MatchEdges(),
NTip(),
NodeNumbers(),
PathLengths(),
SplitsInBinaryTree(),
TipLabels(),
TreeIsRooted()
Other Splits operations:
LabelSplits(),
NTip(),
PolarizeSplits(),
SplitFrequency(),
Splits,
SplitsInBinaryTree(),
TipLabels(),
TipsInSplits(),
match,Splits,Splits-method,
xor()
NSplits(8L)
NSplits(PectinateTree(8))
NSplits(as.Splits(BalancedTree(8)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.