powered by
Recursive function that gathers all founders and ancestors for a given individual
The sampled allele.
Vector of dams.
Vector of sires.
Reference individual (its index, not id).
Vector of founders (to be returned as reference).
Vector of ancestors (to be returned as reference).