plotFamilyPedigree: Plotting of Pedigree Chart

Description Usage Arguments Examples

View source: R/simulatePedigree.R

Description

Creates a chart of the pedigree of family famid.

Usage

1
plotFamilyPedigree(pedigrees, famid)

Arguments

pedigrees

A data.frame object with at least the columns: "famid", "id", "momid", "dadid", and "sex"

famid

A integer value identifying the family for which the pedigree chart should be plotted.

Examples

1
2
3
4
5
  data(scen1)
  pedigrees <- scen1$pedigrees

  # plot the pedigree chart of the fifth simulated family
  plotFamilyPedigree(pedigrees, 5)

adele/FamilyBasedPGMs documentation built on Feb. 16, 2021, 8:29 a.m.