View source: R/fonctionsBase.R
gen.founder | R Documentation |
Returns the id numbers of the founders. Founders are defined as the individuals without parents in the genealogy (i.e., mother id=0, father id=0).
gen.founder( gen, ...)
gen |
An object of class GLgen obtained with gen.genealogy, gen.lineages or gen.branching. Required. |
... |
Option to pass additionnal arguments automaticaly between methods. Internal use only. |
A vector of integer
gen.genealogy
gen.pro
gen.half.founder
gen.parent
data(geneaJi) genJi<-gen.genealogy(geneaJi) # There are 6 founders gen.founder(genJi) data(genea140) gen140<-gen.genealogy(genea140) founder140<-gen.founder(gen140) # There are 7399 founders length(founder140)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.