correctStretches {ABHgenotypeR}R Documentation

Correct short miscalled stretches based on flanking alleles.

Description

Correct short miscalled stretches based on flanking alleles.

Usage

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

Arguments

inputGenos

A genotypes list object.

maxHapLength

The maximum length of stretches flanked by non-heterzygous sites that are changed. If set to 1 (default) only AXA or BXB will be corrected. If set to 2, both AXA and AXYA (or BXB and BXYB) will be corrected.

Value

A genotype object in which short miscalled stretches are corrected if both flanking alleles match.

Examples

## Not run: corrStretchGenos <- correctStretches(genotypes, maxHapLength = 3)

[Package ABHgenotypeR version 1.0.1 Index]