plotFamilyPedigree: Plotting of Pedigree Chart

View source: R/simulatePedigree.R

plotFamilyPedigreeR Documentation

Plotting of Pedigree Chart

Description

Creates a chart of the pedigree of family famid.

Usage

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


  data(scen1)
  pedigrees <- scen1$pedigrees

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



adele/FamilyBasedPGMs documentation built on June 11, 2025, 5:48 a.m.