Learn R Programming

strataG (version 2.0.2)

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 sequence likelihoods (see sequenceLikelihoods).

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 sequence likelihoods. The return value is a list with the following elements:

by.sample

data.frame of by-sample summaries

by.locus

data.frame of by-locus summaries

dup.df

data.frame identifying potential duplicates

by.seq

list of low frequency substitutions and haplotype likelihoods for each gene

See Also

summarizeSamples, summarizeLoci, dupGenotypes, lowFreqSubs, sequenceLikelihoods