Learn R Programming

GENLIB (version 1.1.10)

gen.climbPAR: Internal function used by gen.findMRCA

Description

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

Usage

gen.climbPAR(gen, individuals, founder)

Value

returns a list containing the founder ID and the distance.

Arguments

gen

The genealogy to consider.

individuals

probands to consider

founder

the founder by which the distance is calculated

See Also

gen.findMRCA gen.getAncestorsPAR

Examples

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

Run the code above in your browser using DataLab