50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


ggenealogy (version 0.2.0)

buildPlotTotalDF: Build all labels in the graph

Description

This function takes the spreadTotalDF object (from the buildSpreadTotalDF function) and the path object as inputs. From these objects, it creates a data frame object of the text label positions for the varieties in the path, as well as the edges only in the varieties in the path.

Usage

buildPlotTotalDF(path, geneal, ig, binVector = 1:12)

Arguments

path
path as returned from getPath() or a vector of two variety names which exist in ig
geneal
the full genealogy (in data frame format)
ig
the graph representation of the data genealogy (in igraph format)
binVector
vector of numbers between 1 and length(binVector), each repeated exactly once

See Also

http://www.r-project.org for iGraph information

http://www.r-project.org for iGraph information

getPath for information on input path building