# NOT RUN {
data(Ped_griffin, package="sequoia")
Rel.griffin <- GetRelM(Ped_griffin, patmat=TRUE, GenBack=2)
PlotRelPairs(Rel.griffin)
# }
# NOT RUN {
PlotRelPairs(Rel.griffin, pch.symbols = TRUE)
# plot with unicode symbols not supported on all platforms
# }
# NOT RUN {
# parents & grandparents of 2008 cohort:
PlotRelPairs(Rel.griffin,
subset.x = Ped_griffin$id[Ped_griffin$birthyear ==2008])
# offspring & grand-offspring of 2002 cohort:
PlotRelPairs(Rel.griffin,
subset.y = Ped_griffin$id[Ped_griffin$birthyear ==2002])
# }
Run the code above in your browser using DataLab