plotPed: Plot the pedigree

Description Usage Arguments Details See Also Examples

View source: R/plot.lib.R

Description

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

Usage

1
plotPed(data, ped)

Arguments

data

A data.frame of phenotypes.

ped

An integer or a character value, that indicates the pedigree.

Details

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

See Also

matchIdNames

Examples

1
2

solarius documentation built on May 2, 2019, 2:43 a.m.