powered by
For each individual in a pedigree, count the number of generations since the most distant pedigree founder
getGenerations(Ped)
Dataframe, pedigree with the first three columns being ID - dam - sire. Column names are ignored, as are additional columns.
The input pedigree with three columns added: gen, gen.dam, and gen.sire