| CqList-class {freqpcr} | R Documentation |
S4 class storing the dummy Cq data for performance test.
Description
A dummy Cq dataset suitable for a package test, typically obtained as the output of make_dummy().
Slots
NSample sizes as a numeric vector. The
ntrapandnpertraparguments ofmake_dummy()are inherited to the length of N and eachN[i]element, the number of individuals (both for haploidy and diploidy) contained in the ith bulk sample, respectively.mSegregation ratio. As for haploidy,
mis a matrix with 2 rows andntrapcolumns.m[1, i]andm[2, i]stores the number of R (mutant) or S (wild type) individuals whileN[i] = sum(m[, i])specifies the total in the bulk sample. It has 3 rows andntrapcolumns as for diploidy. Whilem[1, i]stands for the number of RR hogozygote individuals,m[2, i]andm[3, i]stand for the numbers of RS heterozygotes and SS homozygotes, respectively.xR,xSNumeric vector of the same length with N.
xR[i]stores the amount of the template DNA for R allele contained in the ith bulk sample.housek0,target0,housek1,target1Numeric vectors of the same lengths with N. Store the generated Cq values.
DCW\DeltaCq values measured on the control samples (DNA extract without endonuclease digestion in the RED-\Delta\DeltaCq method, or pure R solution in a general\Delta\DeltaCq method),DCW, is defined as (target0 - housek0).DCD\DeltaCq values measured on the test samples (samples after endonuclease digestion in the RED-\Delta\DeltaCq method, or samples with unknown allele mixing ratios in a general\Delta\DeltaCq method),DCD, is defined as (target1 - housek1).deldel\Delta\DeltaCq value, defined as (DCD - DCW).RFreqMeasureA classical index of the allele frequency calculated for each bulk sample, which is defined as
(1.0+EPCR)^(-deldel). Note that the values ofEPCRand other parameters, such asPorK, are not recorded in the object to avoid leakage of information.ObsPAs
RFreqMeasurecan exceed 1 by definition,ObsPis defined asmin(RFreqMeasure, 1).rand.seedThe seed of the random-number generator (RNG) which was fed to the current R session to generate dummy
m,xRandxSdata.