Learn R Programming

ggenealogy (version 0.2.0)

buildMinusPathDF: Process the genealogy 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 label, x, and y values of all nodes in the ful genealogy. However, the data frame object does not include the labels of the path varieties, as they will be treated differently.

Usage

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

Arguments

path
path as returned from getPath() or a vector of two variety names which exist in the ig object
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

getPath for information on input path building