Learn R Programming

GENLIB (version 1.0.4)

gen.getAncestorsPAR: Internal function used by gen.findMRCA

Description

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

Usage

gen.getAncestorsPAR(gen, pro)

Arguments

gen

The genealogy to consider.

pro

probands to consider

Value

Vector of the founders identity.

See Also

gen.findMRCA gen.climbPAR

Examples

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

Run the code above in your browser using DataLab