TreeTools (version 0.1.3)

CharacterInformation: Character information content

Description

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 numberic specifying the phylogenetic information content of the character, in bits.

See Also

Other split information functions: SplitInformation, TreesMatchingSplit, UnrootedTreesMatchingSplit