pcr_lib_calc: Calculate library PCR concentrations

View source: R/pcr_lib.R

pcr_lib_calcR Documentation

Calculate library PCR concentrations

Description

Calculate library PCR concentrations

Usage

pcr_lib_calc(pcr, dil_factor = 1000)

Arguments

pcr

a pcr object. Will be tidied if not already.

dil_factor

integer. The factor that the libraries were diluted for pcr

Value

a pcr object, containing the input columns as well as:

  • standard_diff The differences between the ct_mean of a standard and one step up in the dilution (ie more concentrated, lower Ct). The most concentrated dilution has a value of 0

  • dil 2^(standard_diff). The accuracy of this metric assumes that the efficiency of the PCR is 100%, which is likely good but not perfect! In the case of the first standard, dil = 0

  • quant_actual For standards, the presumed quantity of standard, calculated from dil. For samples, quantity

  • concentrationThe concentration of library, before dilution

Examples


system.file("extdata", "untidy-standard-curve.xlsx", package = "amplify") |>
  read_pcr() |>
  pcr_lib_calc()

KaiAragaki/amplify documentation built on Oct. 14, 2024, 11:46 p.m.