read.astral: read.astral

View source: R/ASTRAL.R

read.astralR Documentation

read.astral

Description

parse ASTRAL output newick text

Usage

read.astral(file)

Arguments

file

ASTRAL Newick file

Value

treedata object

Author(s)

Guangchuang Yu

Examples

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))

GuangchuangYu/treeio documentation built on April 12, 2024, 5:25 a.m.