legendPlot.RdPedigree plot with ready-made legend along the bottom of the page to represent colors and affection statuses
legendPlot(
x,
id = x$id,
affected = x$affected,
affected.label = NULL,
col = 1,
col.label = NULL,
symbolsize = 0.75,
cex = 0.5,
...
)Pedigree data frame with ped (pedigree id), id (id of individual), father (id of father), mother (id of mother), sex, affected (affection status), and avail (DNA availability).
Optional, a character string to replace the correspinding id for persons in the pedigree
A variable indicating affection status. A multi-column matrix can be used to give the status with respect to multiple traits. Logical, factor, and integer types are converted to 0/1 representing unaffected and affected, respectively. NAs are considered missing.
Set labels for affection statuses
Colors for the plot symbol for each individual
Named vector, with elements matching the unique color codes, the names are the labels used in the legend.
Size of symbols (circle/square/triangle). Default is 1.0
Character expansion size for labels and ids. Default is 1.0
Character expansion size for labels and ids. Default is 1.0