getPyramidPlot: Creates a pyramid plot of the pedigree provided.

View source: R/getPyramidPlot.R

getPyramidPlotR Documentation

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)

Arguments

ped

dataframe with pedigree data.

Value

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

Examples

library(nprcgenekeepr)
data(qcPed)
getPyramidPlot(qcPed)

rmsharp/nprcmanager documentation built on Feb. 2, 2025, 12:45 a.m.