gen.climbPAR: Internal function used by gen.findMRCA

View source: R/fonctionsPAR.R

gen.climbPARR 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)

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

Related to gen.climbPAR in GENLIB...