R: Internal function used by gen.findMRCA

gen.climbPAR {GENLIB} | R Documentation

## Internal function used by gen.findMRCA

### Description

gen.climbPAR is an internal function used by gen.findMRCA.

### Usage

    gen.climbPAR(gen, individuals, founder)

### Arguments

`gen` | The genealogy to consider.
`individuals` | probands to consider
`founder` | the founder by which the distance is calculated

### Value

returns a list containing the founder ID and the distance.

### See Also

`gen.findMRCA` `gen.getAncestorsPAR`

### Examples

    data(geneaJi)
    genJi<-gen.genealogy(geneaJi)
    gen.findMRCA(genJi, individuals=c(1,29), NbProcess = 1)

[Package GENLIB version 1.0.8 Index]