R: Get proband id numbers

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)
    ## Not run: There are 3 probants
    gen.pro(genJi)

    data(genea140)
    gen140<-gen.genealogy(genea140)
    gen.pro(gen140)
    ## Not run: There are 140 probants

[Package GENLIB version 1.0.6 Index]