Description Usage Arguments Details Author(s) References See Also Examples

`TipInstability()`

calculates the instability of each leaf in a tree.
Unstable leaves are likely to display roguish behaviour.

1 2 3 4 5 6 7 8 9 | ```
TipInstability(
trees,
log = TRUE,
average = "mean",
deviation = "sd",
checkTips = TRUE
)
ColByStability(trees, log = TRUE, average = "mean", deviation = "sd")
``` |

`trees` |
List of trees to analyse. |

`log` |
Logical specifying whether to log-transform distances when calculating leaf stability. |

`average` |
Character specifying whether to use |

`deviation` |
Character specifying whether to use |

`checkTips` |
Logical specifying whether to check that tips are numbered consistently. |

SmithCons;textualRogue defines the *instability* of a pair
of leaves as the median absolute divergence in the graph geodesic
(the number of edges in the shortest path between the leaves) across all
trees, normalized against the mean graph geodesic.
The instability of a single leaf is the mean instability of all pairs that
include that leaf; higher values characterise leaves whose position is more
variable between trees.

Other concepts of leaf instability include

The 'taxonomic instability index', as implemented in Mesquite: described by \insertCiteThomson2010;textualRogue as

*∑[x, y, j != i] (D[ijx] - D[ijy] / (D[ijx] - D[ijy])^2 )*, where*D[ijx]*is the patristic distance (i.e. length of edges) between leaves*i*and*j*in tree*x*.the average stability of triplets (i.e. quartets including the root) that include the leaf \insertCiteThorley1999Rogue, implemented in "Phyutility" \insertCiteSmith2008Rogue; and related to 'positional congruence' measures \insertCiteEstabrook1992,Pol2009Rogue.

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

Other tip instability functions:
`TipVolatility()`

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.