CharacterInformation {TreeTools}R Documentation

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.

Author(s)

Martin R. Smith (martin.smith@durham.ac.uk)

References

See Also

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


[Package TreeTools version 1.4.4 Index]