Learn R Programming

strataG (version 1.0.5)

qaqc: Quality Assurance/Quality Control

Description

Conducts a suite of QA/QC tests. Summarizes missing data and homozygosity by individual and locus, and looks for duplicate genotypes (see dupGenotypes). For sequence data, identifies low frequency substitutions (see lowFreqSubs), and computes haplotype likelihoods (see haplotypeLikelihoods).

Usage

qaqc(g, label = NULL, ...)

Arguments

g
a gtypes object.
label
optional label for output folder and prefix for files.
...
optional arguments to pass on to summary functions.

Value

Files are written for by-sample and by-locus summaries, and duplicate genotypes if any are found. If sequences are present, files are written identifying low frequency substitutions and haplotype likelihoods. The return value is a list with the following elements: