config: Configuration function

Description Usage Arguments Value

View source: R/calc_IBD.R

Description

Small internal function that returns all possible configurations of parental inheritance given a genotype

Usage

1
config(g, ploidy = 2)

Arguments

g

integer, a genotype <= ploidy and >=0

ploidy

integer, indicating ploidy.

Value

a list of vectors, where each element indicates one possible parental chromosome inheritance configuration.


Alethere/SmoothDescent documentation built on Jan. 14, 2022, 9:40 p.m.