Learn R Programming

GENLIB (version 1.0.1)

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)

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

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