Get half-founder id numbers

Share:

Description

Returns the id numbers of the half-founders. Half-founders are defined as the individuals with only one known parent in the genealogy (i.e., either mother id=0 or father id=0).

Usage

1

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.pro gen.founder gen.parent

Examples

1
2
3
4
data(geneaJi) 
genJi<-gen.genealogy(geneaJi) 
## Not run: There are 2 half-founders
gen.half.founder(genJi)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.