pedplot | R Documentation |
Plots a pedigree
pedplot(Pedig, affected=NULL, status=NULL, label="Indiv", ...)
Pedig |
Data frame containing the pedigree with columns |
affected |
Logical vector indicating for each individual if its symbol should be plotted in colour. The default |
status |
Logical vector indicating for each individual if its symbol in the plot should be crossed out. The default |
label |
Character vector containing the columns of data frame |
... |
Options passed to the underlying function plot.pedigree from package |
This function plots a pedigree. If data frame Pedig
has logical column keep
then the default values mean that the symbols of these animals are plotted in color and for animals from other breeds the symbol is crossed out.
An invisible list returned by the underlying function plot.pedigree from package kinship2
.
Robin Wellmann
data(PedigWithErrors)
sPed <- subPed(PedigWithErrors, keep="276000810087543", prevGen=3, succGen=2)
pedplot(sPed, mar=c(2,4,2,4), label=c("Indiv", "Born", "Breed"), cex=0.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.