Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

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

References

  • Steel MA, Penny D (2006). “Maximum parsimony and the phylogenetic information in multistate characters.” In Albert VA (ed.), Parsimony, Phylogeny, and Genomics, 163–178. Oxford University Press, Oxford.

See Also


TreeTools

Create, Modify and Analyse Phylogenetic Trees

v1.4.4
GPL (>= 3)
Authors
Martin R. Smith [aut, cre, cph] (<https://orcid.org/0000-0001-5660-1727>), Emmanuel Paradis [cph] (<https://orcid.org/0000-0003-3092-2199>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.