View source: R/data_processing_base.R
subtract_blanks | R Documentation |
All samples are typically run with a 19:0 extraction control and 13:0 standard. This function subtracts peak area contributed by these additions prior to converting peak area to concentration.
subtract_blanks(df, blanks)
df |
Dataframe or tibble with named PLFA peak data following format
specified by |
blanks |
Vector of the names of samples run as blanks. This should include all samples you want to use for peak subtraction (eg. 13:0 and 19:0) in most cases. |
Tibble similar to input with the addition of AreaMinusBlanks column showing peak areas minus area contributed by standard/control lipids.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.