read.astral: read.astral

Description Usage Arguments Value Author(s) Examples

View source: R/ASTRAL.R

Description

parse ASTRAL output newick text

Usage

1

Arguments

file

ASTRAL Newick file

Value

treedata object

Author(s)

Guangchuang Yu

Examples

1
2
3
4
5
6
tt <- paste0(
  "((species1,(species2,species3)'[pp1=0.75;pp2=0.24;pp3=0.01]':",
  "1.2003685744180805)'[pp1=0.98;pp2=0.02;pp3=0]':0.9679599282730038,",
  "((species4,species5)'[pp1=0.88;pp2=0.11;pp3=0.01]':1.2454851536484994))"
)
read.astral(textConnection(tt))

treeio documentation built on Nov. 21, 2020, 2:01 a.m.