gen.pro: Get proband id numbers

View source: R/fonctionsBase.R

gen.proR 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


GENLIB documentation built on Jan. 17, 2023, 5:16 p.m.

Related to gen.pro in GENLIB...