Learn R Programming

malan (version 1.0.3)

sample_autosomal_genotype: Sample genotype with theta

Description

Sample genotype with theta

Usage

sample_autosomal_genotype(allele_dist, theta)

Arguments

allele_dist

Allele distribution (probabilities) -- gets normalised

theta

Theta correction between 0 and 1 (both included)