Error_pLigand: What is the error in pLigand at a given pLigand, given some...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

What is the error in pLigand at a given pLigand, given some parameters of R and the error in R?

Usage

1
Error_pLigand(pLigand, Rmin, Rmax, delta, pKd, error_R, ligand_name, ...)

Arguments

pLigand

the pLigand

Rmin

the minimum possible ratiometric fluorescence

Rmax

the maximum possible ratiometric fluorescence

delta

the ratiometric fluorescence in the first wavelength

pKd

the sensor's midpoint/pKd

error_R

a function that, given an R, returns the error in that R

ligand_name

the name of the ligand

...

not used (for generalization compatability)

Value

A list with (1) 'pH', the given pH, (2) 'larger_pH', the largest possible E, at the given error (3) 'smaller_pH', the smallest possible E, at the given error (4) 'max_error' the largest possible difference between the observed and expected E

Examples

1
2
3
4
Error_pLigand(
  pLigand = 7.3, ligand_name = "pNADPH",
  Rmin = 1, Rmax = 5, delta = 0.2, pKd = 8, error_R = function(x) 0.02 * x
)

julianstanley/SensorOverlord documentation built on Oct. 19, 2020, 2:29 p.m.