nodeToDF: Returns the data frame representation of all ancestors and...

Description Usage Arguments

Description

Converts the list-style-tree to a data frame, where each variety has an id value and references its' parent's id value. ID value ranges correspond to generation. It is possible that with more complex trees the range of id values may need to expand to reduce the probability of two varieties being assigned the same id value.

Usage

1
nodeToDF(tlist, branch = 0, par.id = NA, id = 1)

Arguments

tlist

list of varieties

branch

of particular variety in tree

par.id

the id of the parent

id

id offset


dicook/phyViz documentation built on May 15, 2019, 8:24 a.m.