qpcr_dcq: Calculate dCq values

Description Usage Arguments Value Examples

View source: R/qpcr_dcq.R

Description

qpcr_dcq subtracts the housekeeping gene Cq values from the experimental genes Cq values.

Usage

1
qpcr_dcq(.data, cq, pcr_target, housekeeping)

Arguments

.data

A data frame or tibble.

cq

Unquoted expression. Give the name of the column containing the (averaged) Cq values. If you used the qpcr_avg_techrep function this column is called 'cq'.

pcr_target

Unquoted expression. Supply the name of the column that denotes which gene was the target of the qPCR.

housekeeping

Quoted expression. Give the value of your housekeeping gene as it occurs in your pcr_target column.

Value

Returns the same type as the input (e.g. a data frame or tibble). Creates 2 new columns. "cq_hk" moves the housekeeping Cq values into its own column. "dcq" contains the calculated dCq values.

Examples

1
2
3
4
dcq_values <- qpcr_dcq(ex_avg,
                       cq = cq,
                       pcr_target = primer_pair,
                       housekeeping = "gene_hk")

JorikBot/tidyqpcr documentation built on Jan. 28, 2021, 11:44 a.m.