read.topologies: Read geophytter+ simplex topologies file

Description Usage Arguments Value Author(s) Examples

Description

Reads the file and returns a list with the simplex and the tree topologies. The simplex is a data frame with the probability weight vector, the tree topology index, and the (x,y) projection of the simplex onto cartesian coordinates. The tree topologies is an ape::multiPhylo object with the trees corresponding to the indices in the simplex dataframe.

Usage

1

Arguments

file

filename to read

Value

a list with elements simplex and trees (see Details)

Author(s)

Grady Weyenberg

Examples

1
2
3
filename <- system.file("extdata", "lungfish_topologies.txt.gz",
                        package="geophyttertools")
lungfish.tops <- read.topologies(filename)

grady/geophyttertools documentation built on May 17, 2019, 8:01 a.m.