read.nhx: read.nhx

Description Usage Arguments Value Author(s) Examples

View source: R/nhx.R

Description

read nhx tree file

Usage

1

Arguments

file

nhx file

Value

nhx object

Author(s)

Guangchuang Yu https://guangchuangyu.github.io

Examples

1
2
nhxfile <- system.file("extdata/NHX", "ADH.nhx", package="treeio")
read.nhx(nhxfile)

Example output

'treedata' S4 object that stored information of
	 '/usr/local/lib/R/site-library/treeio/extdata/NHX/ADH.nhx'.

...@ tree: 
Phylogenetic tree with 8 tips and 4 internal nodes.

Tip labels:
	ADH2, ADH1, ADHY, ADHX, ADH4, ADH3, ...

Rooted; includes branch lengths.

with the following features available:
	'S',	'D',	'B'.

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