View source: R/data_processing_base.R
area_to_concentration | R Documentation |
This function takes a formatted peak list and carries out blank subtraction
and calculates kval in order to convert peak area for each peak to
concentration. This function does not include blank subtraction. If blanks
need to be subtracted, use process_peak_area()
.
area_to_concentration( df, avg_std_area, soil_wt_df, mw_df = lipid_reference, standard_conc, inj_vol, standard, vial_vol )
df |
Dataframe or tibble with named PLFA peak data following format
specified by |
soil_wt_df |
Dataframe or tibble containing the dry weight (g) of soil used for lipid extraction for each sample. |
mw_df |
Dataframe including all lipids (fame column) of interest and
their associated molecular weights (molecular_weight_g_per_mol column). By
default, this function uses the included |
standard_conc |
Numeric value indicating the concentraion of standard in ng/uL. Default is 250 ng/uL. |
inj_vol |
Volume of sample injected into GC in uL. Default is 2uL. |
standard |
String indicating the lipid used as the standard. Default is 13:0. |
vial_vol |
Volume solution run on GC. Default is 50 uL |
standard_fnames |
Character vector with names of samples to be used as standards for calculating the kval. Names should match names in DataFileName column of input dataframe. |
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 concentration column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.