View source: R/setPlotLabels.R
setPlotLabels | R Documentation |
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
.
plot.linkdat
x = nuclearPed(1) x = setPlotLabels(x, labels=c('Father', 'Mother', 'Son')) plot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.