do_chip_qpcr: do_chip_qpcr

Description Usage Arguments Details Value

View source: R/do_chip_qpcr.R

Description

Calcuates either percent input or fold enrichment for chip qpcr data

Usage

1
2
do_chip_qpcr(sampleObj, inputName = NULL, mockName = NULL,
  inputPercent = NULL, method, bioReps = FALSE)

Arguments

sampleObj

A qPCRBatch object generated from the readSampleSheet function.

inputName

A character vector of the common name given to all input samples

mockName

A character vector of the common name given to all mock (e.g. IgG control) samples

inputPercent

The percent of starting chromatin used as input. Should be an integer in percent (e.g. 2% input is 2).

method

Indicates which calculation should be performed. Must be one of ("i", "input") for input, or ("fe", "fold enrichment") for fold enrichment.

bioReps

Boolean indicating whether or not there are biological replicates.

Details

This function will handle both single replicate or n > 1 replicate experiments. Providing a 'mockName' for percent input calculations will remove the mock samples from the calculations. Likewise, providing an 'inputName' for fold enrichment calculations will remove the input samples from the calculations.

Value

A data.frame with dCT values, percent input/fold enrichment, and max/min percent input/fold enrichment per sample.


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