StepInformation | R Documentation |
StepInformation()
calculates the phylogenetic information content of a
character char
when e extra steps are present, for all possible
values of e.
StepInformation(char, ambiguousTokens = c("-", "?"))
char |
Vector of tokens listing states for the character in question. |
ambiguousTokens |
Vector specifying which tokens, if any, correspond to
the ambiguous token ( |
Calculates the number of trees consistent with the character having e extra steps, where e ranges from its minimum possible value (i.e. number of different tokens minus one) to its maximum.
StepInformation()
returns a numeric vector detailing the amount
of phylogenetic information (in bits) associated with the character when
0, 1, 2… extra steps are present. The vector is named with the
total number of steps associated with each entry in the vector: for example,
a character with three observed tokens must exhibit two steps, so the first
entry (zero extra steps) is named 2
(two steps observed).
Martin R. Smith (martin.smith@durham.ac.uk)
Other profile parsimony functions:
Carter1()
,
PrepareDataProfile()
,
WithOneExtraStep()
,
profiles
character <- rep(c(0:3, "?", "-"), c(8, 5, 1, 1, 2, 2))
StepInformation(character)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.