TreeTools (version 0.1.3)

SplitInformation: Information content of a split

Description

SplitInformation calculates the information content of a split, based on the entropy of the subset of trees consistent with the split; a split that is consistent with a smaller number of trees will have a higher information content.

Usage

SplitInformation(A, B)

MultiSplitInformation(partitionSizes)

Arguments

A

Number of taxa in each partition.

B

Number of taxa in each partition.

partitionSizes

Integer vector specifying the number of taxa in each partition of a multi-partition split.

Value

Information content of the split, in bits.

Functions

  • MultiSplitInformation: Information content of a multi-partition split.

See Also

Other split information functions: CharacterInformation, TreesMatchingSplit, UnrootedTreesMatchingSplit

Examples

Run this code
# NOT RUN {
  # Eight tips can be split evenly:
  SplitInformation (4, 4)

  # or unevenly, which is less informative:
  SplitInformation (2, 6)

# }

Run the code above in your browser using DataLab