TreeTools (version 1.4.1)

CharacterInformation: Character information content

Description

CharacterInformation() calculates the phylogenetic information content of a given character.

Usage

CharacterInformation(tokens)

Arguments

tokens

Character vector specifying the tokens assigned to each taxon for a character. Example: c(0, 0, 0, 1, 1, 1, '?', '-').

Note that ambiguous tokens such as (01) are not supported, and should be replaced with ?.

Value

CharacterInformation() returns a numeric specifying the phylogenetic information content of the character (sensu Steel & Penny 2006), in bits.

References

  • Steel2006TreeTools

See Also

Other split information functions: SplitInformation(), SplitMatchProbability(), TreesMatchingSplit(), UnrootedTreesMatchingSplit()