Skip to contents

Allele probabilities to genotype probabilities assuming Hardy-Weinberg equilibrium

Usage

allele_probs_to_geno_probs(x)

Examples

allele_probs_to_geno_probs(c(0.1, 0.2))
#> [[1]]
#> [1] 0.01 0.18 0.81
#> 
#> [[2]]
#> [1] 0.04 0.32 0.64
#>