harrietr (version 0.2.2)

get_node_support: Get node support from a tree produced with IQTREE

Description

In IQTREE it is possible to obtain node support values by SH aproximate likelihood ratio tests (SH-aLRT), and ultrafast bootstraps (uBS). Often, we do both, which IQTREE encodes as two numbers separated by a '/' as the internal node label. This function will return a data.frame with the number of the internal nodes, and the support values for each.

Usage

get_node_support(tree)

Arguments

tree

An object of type phylo generated using IQTREE

Value

A data.frame with internal node information, plus two columns: (1) SH-aLRT; and (2) uBS

Examples

Run this code
# NOT RUN {
data(woodmouse_iqtree)
get_node_support(woodmouse_iqtree)
# }

Run the code above in your browser using DataCamp Workspace