correctStretches: Correct short miscalled stretches based on flanking alleles.

Description Usage Arguments Value Examples

View source: R/correctStretches.R

Description

Correct short miscalled stretches based on flanking alleles.

Usage

1
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

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

Example output



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