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.
buildPlotTotalDF(path, geneal, ig, colName, colNameY = "", bin = 12)
path as returned from getPath() or a vector of two variety names which exist in ig
the full genealogy (in data frame format)
the graph representation of the data genealogy (in igraph format)
the name of the column of the data frame that contains the quantitative variable of interest (in character string format)
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.
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
https://www.r-project.org for iGraph information
https://www.r-project.org for iGraph information
getPath
for information on input path building