Learn R Programming

nprcgenekeepr (version 1.0.8)

getPyramidPlot: Creates a pyramid plot of the pedigree provided.

Description

The pedigree provided must have the following columns: sex and age. This needs to be augmented to allow pedigrees structures that are provided by the nprcgenekeepr package.

Usage

getPyramidPlot(ped = NULL)

Value

The return value of par("mar") when the function was called.

Arguments

ped

dataframe with pedigree data.

Examples

Run this code
library(nprcgenekeepr)
data(qcPed)
getPyramidPlot(qcPed)

Run the code above in your browser using DataLab