buildPlotTotalDF: Build all labels in the graph

Description Usage Arguments See Also

View source: R/allFunctions.R

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

1
buildPlotTotalDF(path, geneal, ig, colName, colNameY = "", bin = 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)

colName

the name of the column of the data frame that contains the quantitative variable of interest (in character string format)

colNameY

the name of the second optional column of the data frame that contains the second optional quantitative variable of interest (in character string format). This optional quantitative variable will be plotted on the vertical axis.

bin

the number of bins to determine the vertical positions of nodes (default is 12). For more information on choosing bin size, please visit the ggenealogy vignette

See Also

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

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

getPath for information on input path building


ggenealogy documentation built on March 26, 2020, 9:25 p.m.