calculate_n0: Calculate mean n0 from LinRegPCR analysis

View source: R/calculate_n0.R

calculate_n0R Documentation

Calculate mean n0 from LinRegPCR analysis

Description

calculate_n0() computes the mean n0 values of qPCR replicates from xls/xlsx/csv files containing LinRegPCR output.

Usage

calculate_n0(path, linregpcr_files, type, include_all = FALSE, hkg = NULL)

Arguments

path

a string specifying the path to the directory containing LinRegPCR output files.

linregpcr_files

a character vector containing the names of LinRegPCR output files, with the extension included (.xls, .xlsx or .csv).

type

a string specifying the extension of LinRegPCR output files (either .xls, .xlsx or .csv).

include_all

a logical, default is FALSE. If TRUE, will also include the samples that did not reach the plateau phase or displayed deviating PCR efficiency.

hkg

optional. A named list of character vectors specifying the sets of amplicons to be used for computing reference mean n0 values. For each vector of the list, reference mean n0 values are named after the vector and computed as the geometric mean of the vector elements.

Value

A tibble containing the mean n0 value of each amplicon (including newly created references) for each RT sample.


benvallin/banban documentation built on Sept. 29, 2023, 5:46 a.m.