| plotAncDes {ggenealogy} | R Documentation | 
Returns the image object to show the ancestors and descendants of a variety
Description
Returns the image object to show the ancestors and descendants of a variety, with the variety highlighted, if desired
Usage
plotAncDes(v1, geneal, mAnc = 3, mDes = 3, vColor = "#D35C79")
Arguments
| v1 | the label of the vertex of interest (in character string format) | 
| geneal | the full genealogy (in data frame format) | 
| mAnc | the maximum number of generations of ancestors of v1 to be displayed (in numeric format) | 
| mDes | the maximum number of generations of descendants of v1 to be displayed (in numeric format) | 
| vColor | the color of the text of the main variety | 
References
Rutter L, VanderPlas S, Cook D, Graham MA (2019). ggenealogy: An R Package for Visualizing Genealogical Data. Journal of Statistical Software, 89(13), 1–31. doi:10.18637/jss.v089.i13
Examples
data(sbGeneal)
plotAncDes("Tokyo", sbGeneal, vColor = "red")
plotAncDes("Essex", sbGeneal, 2, 3, "blue") + ggplot2::labs(x = "Generation index", y = "")
[Package ggenealogy version 1.0.3 Index]