as.splits: Splits representation of graphs and trees.
Description
as.splits
produces a list of splits or bipartitions.Usage
as.splits(x, ...)
## S3 method for class 'phylo':
as.splits(x, ...)
## S3 method for class 'multiPhylo':
as.splits(x, ...)
compatible(obj)
Arguments
x
An object of class phylo or multiPhylo.
...
Further arguments passed to or from other methods.
obj
an object of class splits.
Value
as.splits
returns an object of class splits, which is mainly a list of splits.
compatible
return a lower triangular matrix where an 1 indicates that two splits are incompatible.