correctUndercalledHets: Correct undercalled heterozygous sites based on flanking...

Description Usage Arguments Value Examples

View source: R/correctUndercalledHets.R

Description

Correct undercalled heterozygous sites based on flanking alleles.

Usage

1
correctUndercalledHets(inputGenos = "genotypes", maxHapLength = 1)

Arguments

inputGenos

A genotypes list object.

maxHapLength

The maximum length of not heterozygous stretches flanked by heterzygous sites that are changed to heterozygous. If set to 1 (default) only HAH or HBH will be corrected. If set to 2, both HAH and HAAH (or HBH and HBBH) will be corrected.

Value

A genotype object in which undercalled heterozygous sites are corrected if both flanking alleles match.

Examples

1
## Not run: corrUndHetsGenos <- correctUndercalledHets(genotypes, maxHapLength = 3)

ABHgenotypeR documentation built on May 2, 2019, 6:33 a.m.