YuLab-SMU / treeio

:seedling: Base Classes and Functions for Phylogenetic Tree Input and Output

Home Page:https://yulab-smu.top/treedata-book/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

read.iqtree and regular bootstrap

LPDagallier opened this issue · comments

Hi,

Let's take the case were a tree has been inferred with IQTREE, but branch support was assessed with non-paramteric bootstrap (BS) and not with UFBoot or SH-alrt.
I just wanted to notify that the read.iqtree() function will correctly read the phylo object of the treedata, but will not correctly read the data. It will in fact consider the BS values as both UFBoot and SH-alrt values.
As there is no way for read.iqtree() to know what type of branch support is in the treedata, I would suggest to add a note on the help of the function mentioning that read.iqtree() has to be used only when UFBoot AND SH-arlt (or UFBoot alone) was used to assess branch support. For BS or SH-arlt alone, users should use read.tree() function instead.

Thanks