Skip to contents

parsing phylip tree format

Usage

read.phylip(file)

Arguments

file

phylip file

Value

an instance of 'phylip'

Author

Guangchuang Yu

Examples

phyfile <- system.file("extdata", "sample.phy", package="treeio")
read.phylip(phyfile)
#> 'treedata' S4 object that stored information
#> of
#> 	'/usr/local/lib/R/site-library/treeio/extdata/sample.phy'.
#> 
#> ...@ phylo:
#> 
#> Phylogenetic tree with 15 tips and 13 internal nodes.
#> 
#> Tip labels:
#>   K, N, D, L, J, G, ...
#> 
#> Unrooted; no branch lengths.