Learn R Programming

GENLIB (version 1.1.10)

gen.getAncestorsPAR: Internal function used by gen.findMRCA

Description

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

Usage

gen.getAncestorsPAR(gen, pro)

Value

Vector of the founders identity.

Arguments

gen

The genealogy to consider.

pro

probands to consider

See Also

gen.findMRCA gen.climbPAR

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