norm_factor_fun: Calculate normalization factor

View source: R/norm_factor_fun.R

norm_factor_funR Documentation

Calculate normalization factor

Description

Calculate a normalization factor for each sample using the average of the dct values of all genes used for normalization.

Usage

norm_factor_fun(dct_data, hkg, exp_name)

Arguments

dct_data

data.frame containing the qPCR data including dCt values as calculated by dct_apply

hkg

a character vector containing the names of the targets used as normalization genes

exp_name

experiment name (used as plot title and to name the saved file)

Value

a named numeric vector with the normalization factor calculated for each sample. In addition, saves a PDF containing a scatterplot to asses the correlation between the expression values of normalization genes (if using more than one)


dcorujog/qpcr-package documentation built on Sept. 4, 2023, 3:04 p.m.