View source: R/asr_diagnostics.R
getStatesAtNodes | R Documentation |
returns the states at each node corresponding to the state with the max likelihood
getStatesAtNodes(ancliks, confidence_threshold = NULL)
ancliks |
a table of ancestral likelihoods with rows in node order and columns corresponding to phenotype states |
confidence_threshold |
the default is NULL, but if provided it will only obtain states from nodes whose max likelihood is greater than or equal to the confidence threshold |
a vector of states for the internal nodes in order of the internal nodes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.