Learn R Programming

SimRVPedigree (version 0.4.4)

pedigreeLabels: Create pedigree labels

Description

Create pedigree labels

Usage

pedigreeLabels(x, ref_year)

Arguments

x

An object of class ped.

ref_year

A numeric constant. The reference year used to determine current age for pedigree members.

Value

A list of labels that can be used with kinship2's plot function. See plot.pedigree for details.

References

Terry M Therneau and Jason Sinnwell (2015). kinship2: Pedigree Functions. R package version 1.6.4. https://CRAN.R-project.org/package=kinship2