biallelic_geno_error: Simulate genotyping error on biallelic markers

Description Usage Arguments

View source: R/biallelic_geno_error.R

Description

Simple function to simulate genotyping errors.

Usage

1
biallelic_geno_error(genos, het_miscall = 0.02, hom_miscall = 0.005)

Arguments

genos

a vector of genotypes. The genotypes must be given as 1/1, 1/2, 2/1 or 2/2.

het_miscall

the rate at which heterozygotes are called as homozygotes.

hom_miscall

the rate at which a homozygote is called as a het.


eriqande/gdropR documentation built on Feb. 25, 2021, 2:59 p.m.