Plot the pedigree

Usage

plotPed(data, ped)

Arguments

data
A data.frame of phenotypes.
ped
An integer or a character value, that indicates the pedigree.

Description

Plot the pedigree tree based on the ID-fields given in phenotypes. Plotting is based on kinship2 package.

Details

The ID fields are extracted from the data via matchIdNames function. The required fields are ID, FA, MO, SEX and FAMID.

Examples

data(dat30) plotPed(dat30, 1)

See also

matchIdNames