get_ddCT_bioReps: get_ddCT_bioReps

Description Usage Arguments Value Examples

View source: R/get_ddCT_bioReps.R

Description

Calculates the ddCT values for all samples when biological replicates are present.

Usage

1
2
get_ddCT_bioReps(sampleObj, case, control, reps.case, reps.control, hkg,
  rel.exp = FALSE)

Arguments

sampleObj

A qPCRBatch object generated from the readSampleSheet function.

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.

Value

A data.frame containing ddCT values in log2 fold-change or relative expression format.

Examples

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)

sccallahan/WARPqpcr documentation built on March 1, 2020, 1:23 a.m.