gen.children {GENLIB} | R Documentation |
Get id numbers of children
Description
Returns the id numbers of the children of specified individuals.
Usage
gen.children( gen, individuals, ...)
Arguments
gen |
An object of class GLgen obtained with gen.genealogy, gen.lineages or gen.branching. Required. |
individuals |
Vector of individual id numbers. Required. |
... |
Option to pass additionnal arguments automaticaly between methods. Internal use only. |
Value
returns a vector of integer
See Also
gen.genealogy
gen.pro
gen.founder
gen.sibship
gen.parent
Examples
data(geneaJi)
genJi<-gen.genealogy(geneaJi)
gen.children(genJi, individuals=14)
data(genea140)
gen140<-gen.genealogy(genea140)
children51052<-gen.children(gen140,51052)
gen.graph(gen140, pro=c(children51052))
[Package GENLIB version 1.1.10 Index]