Formats sensor information into a dataframe suitable for input into database

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