simPCR2
implements a simulation model for the polymorphism chain reaction (Gill et al., 2005).
Giving several input parameters, simPCR2
outputs the number of amplified DNA molecules and their corresponding peak heights
(in RFUs).simPCR2(ncells,probEx,probAlq, probPCR, cyc = 28, Tdrop = 2 * 10^7,
probSperm = 0.5, dip = TRUE,KH=55)
probSperm
Tdrop
(must be a multiple of 10^7) is needed to generate a signal, then, a log-linear relationship is used to
determine the intensity of the signal with respect to the number of successfully amplified DNA molecules. Dropout events occur
whenever less than Tdorp
molecules are generated.simPCR2TK
#simulation of a 28 cycles PCR, with the initial stain containing 5 cells
simPCR2(ncells=5,probEx=0.6,probAlq=0.30,probPCR=0.8,cyc=28, Tdrop=2*10^7,dip=TRUE,KH=55)
Run the code above in your browser using DataLab