getParent: Returns the parents of a particular variety (if they exist)

Description Usage Arguments Examples

Description

This function returns up to two values that indicate the parents of the inputted variety.

Usage

1
getParent(v1, tree)

Arguments

v1

the label of the variety/vertex of interest (in character string format)

tree

the data tree (in data frame format)

Examples

1
2
3
data(sbTree)
getParent("Tokyo", sbTree)
getParent("Essex", sbTree)

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