oneFounderSharingProbSplitting: calculate sharing probability in basic case

Description Usage Arguments Value

View source: R/sharingProbabilityCalculationsSplitting.R

Description

Assume that only one founder can introduce the variant to the pedigree. Condition on each founder and sum over all resulting probabilities.

Usage

1
oneFounderSharingProbSplitting(procPed, useFounderCouples = TRUE)

Arguments

procPed

pedigree that has been through processPedigree()

useFounderCouples

a logical value indicating whether to exploit the interchangeability of the mother and father from founder couples to save computations. Warning! This works only when all founders have only one spouse. Set to FALSE if at least one founder has two or more spouses.

Value

sharing probability


RVS documentation built on Nov. 8, 2020, 6:57 p.m.