Description Usage Arguments Examples
View source: R/convert_absorbance.R
given a tibble containing a column 'Absorbance', the concentration of a chemical of which the Absorbance is measured is calculated and attached to the tibble. Userprovided coefficients return the calculated concentration in corresponding units - If the coefficient is one of the chemicals provided in 'chemical_specs.R' the calculated concentration is stated in mol/l .
1 |
data |
a tibble with at least one column 'Absorbance'. |
coef |
either the name of any chemical found in 'chemicals_specs' or a user-provided appropriate absorption coefficient (a named vector, eg. 'setNames(7282, "chemical1")') |
1 2 3 4 5 6 7 8 | # this is a typical output from jasco_tibble
jasco_df
jasco_df %>%
convert_absorbance(., "NADH")
jasco_df %>%
convert_absorbance(., coef = setNames(7282, "chemical XYZ"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.