This function removes background absorbance from absorbance measured in each treatment (exported as first object of the list), then it calculates the standard curve from the values in lines for which the condition is a number (considered the known concentration), the curve is exported as the second object of the list. Finally, it uses the measured values of absorbance (with background subtracted already) to get the concentration and saves it to a data frame (only the for the treatments), this data frame is the third object of the list
1 2 | rmbg_gm_gc(data, background, treatments, condition_column, measure_column,
plate_column, concentration_column)
|
data |
name of the dataframe with condition_column and measure_column |
background |
string in the condition column that indicates which measures are the blank |
treatments |
vector with strings for each condition/treatment in the study |
condition_column |
name of the column where the conditions are listed |
measure_column |
name of the column where the measures, corrected by removing the background, are recorded |
plate_column |
column in data that indicates from which plate each data comes from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.