dot-pcr_plot_assess: Plot quality assessment graphs

Description Usage Arguments Value Examples

Description

Plot quality assessment graphs

Usage

1
.pcr_plot_assess(df, amount, reference_gene, method)

Arguments

df

A data.frame

amount

A numeric vector

reference_gene

A character string

method

A character string; 'efficiency' or 'standard_curve'

Value

A plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# 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)

# plot the standard curves
pcr:::.pcr_plot_assess(ct3,
                amount = amount,
                reference_gene = 'GAPDH',
                method = 'standard_curve')

# plot amplification efficiency
pcr:::.pcr_plot_assess(ct3,
                       amount = amount,
                       reference_gene = 'GAPDH',
                       method = 'efficiency')

pcr documentation built on April 1, 2020, 9:07 a.m.