config: Configuration function

View source: R/calc_IBD.R

configR Documentation

Configuration function

Description

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

Usage

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 Oct. 21, 2023, 7:11 a.m.