lnconc_to_cq: Convert CQ value to [eDNA] and vice-versa

View source: R/conversion_utils.R

cq_to_lnconcR Documentation

Convert CQ value to [eDNA] and vice-versa

Description

Convenience function to convert from Cq to [eDNA] and vice-versa

Usage

cq_to_lnconc(Cq_values, std_curve_alpha, std_curve_beta)

lnconc_to_cq(x, std_curve_alpha, std_curve_beta, censor = TRUE, upper_Cq = 40)

Arguments

Cq_values

numeric vector, value of CQ

std_curve_alpha

the alpha (intercept) value for the standard curve

std_curve_beta

the beta (slope) value for the standard curve

x

log[eDNA] values

censor

logical, whether Cq values larger than the upper_Cq should be censored. If TRUE, these any values above the threshold will be replaced with the upper_Cq value.

upper_Cq

the max Cq value

Details

Mirror of the same functions from the artemis package (fishsciences.github.io/artemis)

Value

numeric vector, [eDNA] values

vector of Cq values

Author(s)

Matt Espe


fishsciences/elaphos documentation built on July 9, 2022, 4:37 a.m.