create_error_df_pLigand: Creates a dataframe of errors in pLigand potential at given...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Creates a dataframe of errors in pLigand potential at given inaccuracies

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
create_error_df_pLigand(
  inaccuracies,
  pLigand_min,
  pLigand_max,
  Rmin,
  Rmax,
  delta,
  pKd,
  by = 0.01,
  ligand_name = "ligand"
)

Arguments

inaccuracies

A vector of inaccuracies (e.g. 0.02 for 2% error), always relative

pLigand_min

The minimum pLigand for which to record error

pLigand_max

The maximum pLigand for which to record error

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

by

(optional, default: 0.01) The granularity of the error tableā€“e.g., by = 0.01 would record 275 and 275.01, etc.

ligand_name

The name of this ligand

Value

A dataframe of errors with columns: 'pLigand': the pLigand, 'Error': the error in this pLigand 'Inaccuracy': The inaccuracy of the measurements (relative to R).

Examples

1
2
3
create_error_df_pLigand(c(0.01, 0.02), 2, 10, 1, 5, 0.2, 7,
  ligand_name = "NADPH"
)

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