Usage
plotPathOnAll(path, geneal, ig, binVector = sample(1:12, 12), edgeCol = "gray84", pathEdgeCol = "seagreen", nodeSize = 3, pathNodeSize = 3, pathNodeFont = "bold", nodeCol = "black", animate = FALSE)
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
edgeCol
color of the non-path edges, default is "gray84"
pathEdgeCol
color of the path edges, default is "seagreen"
nodeSize
text size of the non-path node labels, default is 3
pathNodeSize
text size of the path node labels, default is 3
pathNodeFont
font face of text of the path node labels ("plain", "italic", "bold", "bold.italic"), default is "bold"
nodeCol
color of the non-path node labels, default is black
animate
If the plot will have interactive capabilities, default is FALSE