View source: R/fonctionsBase.R
gen.pro | R Documentation |
Returns the id numbers of the probands. Probands are defined as the individuals without children in the genealogy.
gen.pro( 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. |
returns a vector of integer
gen.genealogy
gen.founder
gen.half.founder
gen.parent
gen.children
data(geneaJi)
genJi<-gen.genealogy(geneaJi)
# There are 3 probands
gen.pro(genJi)
data(genea140)
gen140<-gen.genealogy(genea140)
gen.pro(gen140)
# There are 140 probands
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.