formatSpectraData: Formats sensor information into a dataframe suitable for...

Description Usage Arguments Value

View source: R/utils.R

Description

Formats sensor information into a dataframe suitable for input into database

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
formatSpectraData(
  name,
  type,
  readout,
  lambda_max,
  values_max,
  lambda_min,
  values_min,
  sensor_midpoint,
  lambda1_recommended,
  lambda2_recommended
)

Arguments

name

Character string. The name of the sensor

type

The type of sensor. One of: redox, pH, pLigand

readout

The readout of the sensor. One of: exitation ratiometric, emission ratiometric

lambda_max

The lambda values corresponding to the emission in the maximum state (corresponding to Rmax)

values_max

The emission values in the maximum state (corresponding to Rmax–so, deprotenated or oxidized or not bound to ligand)

lambda_min

The lambda values corresponding to the emission in the minimum state (corresponding to Rmin)

values_min

The emission values in the minimum state (corresponding to Rmin–so, protenated or reduced or bound to ligand)

sensor_midpoint

Numeric. The midpoint of the sensor. Depending on your sensor, this could be: e0, pKa, log-midpoint

Value

A list object suitable to be pushed to the mongo database


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