View source: R/simulatePedigree.R
plotFamilyPedigree | R Documentation |
Creates a chart of the pedigree of family famid
.
plotFamilyPedigree(pedigrees, famid)
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. |
data(scen1)
pedigrees <- scen1$pedigrees
# plot the pedigree chart of the fifth simulated family
plotFamilyPedigree(pedigrees, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.