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 Feb. 13, 2025, 10:20 p.m.