n_pp_mix {segtest}R Documentation

Number of mixture components

Description

The number of disomic inheritance patterns for a given ploidy and a given parental dosage. See also seg for the list of all possible disomic inheritance patterns for even ploidies up to 20.

Usage

n_pp_mix(g, ploidy)

Arguments

g

parent genotype

ploidy

parent ploidy

Value

The number of mixture components.

Examples

n_pp_mix(g = 0, ploidy = 4)
n_pp_mix(g = 1, ploidy = 4)
n_pp_mix(g = 2, ploidy = 4)
n_pp_mix(g = 3, ploidy = 4)
n_pp_mix(g = 4, ploidy = 4)

n_pp_mix(g = 0, ploidy = 6)
n_pp_mix(g = 1, ploidy = 6)
n_pp_mix(g = 2, ploidy = 6)
n_pp_mix(g = 3, ploidy = 6)
n_pp_mix(g = 4, ploidy = 6)
n_pp_mix(g = 5, ploidy = 6)
n_pp_mix(g = 6, ploidy = 6)


[Package segtest version 2.0.0 Index]