Learn R Programming

strvalidator (version 0.1)

calculateDropout: Calculate drop-out events

Description

calculateDropout calculate drop-out events (allele and locus) and records the surviving peak height.

Usage

calculateDropout(data, ref, ignoreCase = TRUE)

Arguments

data
data frame in GeneMapper format containing at least a column 'Allele'.
ref
data frame in GeneMapper format.
ignoreCase
logical, default TRUE for case insensitive.

Value

  • data.frame with columns 'Dropout', indicating no dropout (0), allele (1) and locus dropout (2), and 'Rfu', 'Heterozygous'.

Details

Calculates drop-out events. In case of allele dropout the peak height of the surviving allele is given. NB! "Sample Names" in 'ref' must be unique 'core' name of replicate sample names in 'data'. NB! Homozygous alleles must be doubled (X -> X/X).

Examples

Run this code
#newData<-dropStat(data=data, ref=ref)

Run the code above in your browser using DataLab