Description Usage Arguments Details Value Examples
View source: R/assessment_fun.R
A unified interface to invoke different quality assessment methods of qPCR data.
1 | pcr_assess(df, method = "standard_curve", ...)
|
df |
A data.frame of C_T values with genes in the columns and samples in rows rows. Each sample are replicates of a known input/dilution given by amount |
method |
A character string; 'standard_curve' (default) or 'efficiency' for invoking a certain quality assessment model |
... |
Arguments passed to the methods |
The different quality assessment methods can be invoked using the argument method with 'standard_curve' or 'efficiency'. Alternatively, the same methods can be applied by using the corresponding functions: pcr_standard or pcr_efficiency for calculating the amplification efficiency of a PCR reaction or the individual standard curves respectively. Unlike the amplification efficiency calculation when, using the double delta ct model, the standard curves are required in calculating the standard curve analysis model.
A data.frame or a plot. For details; pcr_standard and pcr_efficiency
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #' # locate and read file
fl <- system.file('extdata', 'ct3.csv', package = 'pcr')
ct3 <- read.csv(fl)
# make amount/dilution variable
amount <- rep(c(1, .5, .2, .1, .05, .02, .01), each = 3)
# calculate the standard curve
pcr_assess(ct3,
amount = amount,
method = 'standard_curve')
# retrun a plot
pcr_assess(ct3,
amount = amount,
method = 'standard_curve',
plot = TRUE)
# calculate amplification efficiency
pcr_assess(ct3,
amount = amount,
reference_gene = 'GAPDH',
method = 'efficiency')
# return a plot
pcr_assess(ct3,
amount = amount,
reference_gene = 'GAPDH',
method = 'efficiency',
plot = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.