Attach plot labels to a linkdat object
This function attaches (or modifies) a character vector of plotting labels for the pedigree members of a linkdat object. This is useful since only numerical ID's are allowed in defining pedigrees in paramlink.
setPlotLabels(x, labels, ids = x$orig.ids)
x |
A linkdat object. |
labels |
A character vector of the same length as |
ids |
A numeric vector of numerical IDs. Must be a subset of
|
A new linkdat object, differing from x only in
x$plot.labels.
Magnus Dehli Vigeland
x = nuclearPed(1)
x = setPlotLabels(x, labels=c('Father', 'Mother', 'Son'))
plot(x)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.