Description Usage Arguments Details

View source: R/convertPhangorn.R

Converts a character reconstruction from phangorn into a vector of tip and node states. Nodes where there are equal weights among states, ties are broken at random.

1 | ```
ConvertPhangornReconstructions(x, site = 1, best = TRUE)
``` |

`x` |
The phyDat object that contains a character reconstruction from phangorn |

`site` |
The character number to convert into a vector |

`best` |
A logical indicating whether the state that maximizes some function (likelihood, parsimony, etc.) is to be returned. |

Creates a vector that contains the best tips and node state from a phangorn reconstruction.

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.