gen.pro {GENLIB} | R Documentation |
Get proband id numbers
Description
Returns the id numbers of the probands. Probands are defined as the individuals without children in the genealogy.
Usage
gen.pro( gen, ...)
Arguments
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. |
Value
returns a vector of integer
See Also
gen.genealogy
gen.founder
gen.half.founder
gen.parent
gen.children
Examples
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
[Package GENLIB version 1.1.10 Index]