Description Usage Arguments Value Examples
View source: R/get_ddCT_bioReps.R
Calculates the ddCT values for all samples when biological replicates are present.
1 2 | get_ddCT_bioReps(sampleObj, case, control, reps.case, reps.control, hkg,
rel.exp = FALSE)
|
sampleObj |
A qPCRBatch object generated from the |
case |
A character vector containing the group for the experimental condition (e.g. "treated"). |
control |
A character vector containing the group for control condition 1 (e.g. "untreated"). |
reps.case |
The number of biological replicates in condition 1. |
reps.control |
The number of biological replicates in condition 2. |
hkg |
A character vector containing the housekeeping gene to use for ddCT calculations. |
rel.exp |
Boolean value indicating whether or not relative expression values should be calculated. TRUE will ONLY compute expression relative to the control sample, FALSE will ONLY compute log2 fold-change values. |
A data.frame containing ddCT values in log2 fold-change or relative expression format.
1 2 3 4 5 6 7 | ## Not run:
sampleObj <- readSampleSheet(file)
ddCTObj <- get_ddCT_bioReps(sampleObj, case = "treated",
control = "untreated", reps.case = 3, reps.control = 3,
hkg = "GAPDH", rel.exp = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.