powered by
Returns the id numbers of the parents of specified individuals.
gen.parent( gen, individuals, output = "FaMo", ...)
returns a list containing the following: Fathers
Mothers
An object of class GLgen obtained with gen.genealogy, gen.lineages or gen.branching. Required.
Vector of individual id numbers. Required.
If output="FaMo" (default) then both mothers and fathers are included. "Mo" outputs mothers only and "Fa", fathers only.
Option to pass additionnal arguments automaticaly between methods. Internal use only.
gen.genealogy gen.pro gen.founder gen.children gen.sibship
gen.genealogy
gen.pro
gen.founder
gen.children
gen.sibship
data(geneaJi) genJi<-gen.genealogy(geneaJi) gen.parent(genJi, individuals=c(3,21,29))
Run the code above in your browser using DataLab