Given a pedigree, the function assigns the generation number each individual belongs in.
A pedigree with columns organized: ID, Dam, Sire
Zero is the base population.
kindepth function in
A vector of values is returned. This vector is in the same order as the ID column of the pedigree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.