Qassignate: Qassignate

Description Usage Arguments Details Value Author(s)

View source: R/Qassignate.R

Description

Q-designation. It also takes care of include new alleles into popFreq by assigning it lowest observed frequnce.

Usage

1
2
Qassignate(samples, popFreq, refData = NULL, doQ = TRUE, incS = TRUE,
  incR = TRUE)

Arguments

samples

A List with samples which for each samples has locus-list elements with list elements adata and hdata. 'adata' is a qualitative (allele) data vector and 'hdata' is a quantitative (peak heights) data vector.

popFreq

A list of allele frequencies for a given population.

refData

Reference objects with list element [[s]]$adata[[i]]. The list element has reference-list with list-element 's' having a loci-list adata with list-element 'i storing qualitative data.

doQ

A boolean whether to Q-designate or not

incS

A boolean whether to include potential stutters in the Q-assignation

incR

A boolean whether to include reference-alleles in the Q-assignation

Details

Assignes non-shown alleles as one single allele.

Value

ret A list(popFreq,refData) with Q-designated alleles.

Author(s)

Oyvind Bleka <Oyvind.Bleka.at.fhi.no>


euroformix documentation built on May 2, 2019, 4:48 p.m.