subtract_blanks: Subtract peak area from control and standard lipids

View source: R/data_processing_base.R

subtract_blanksR Documentation

Subtract peak area from control and standard lipids

Description

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.

Usage

subtract_blanks(df, blanks)

Arguments

df

Dataframe or tibble with named PLFA peak data following format specified by import_batch().

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.

Value

Tibble similar to input with the addition of AreaMinusBlanks column showing peak areas minus area contributed by standard/control lipids.


mlfelice/plfaR documentation built on June 9, 2022, 4:28 p.m.