View source: R/data_processing.R
normalize_area_tidy | R Documentation |
GC response varies varies across batches, producing different peak areas for same lipid cocncentration. This function normalizes the peak area across batches for consistent results within an analysis. Current implementation normalizes to the batch with the smallest mean peak area (non-detects not treated as 0 and not included in the average). Averages used for the correction factor only includes experimental samples, blanks (B), and methylation controls (C) (ie. internal standard, M1M2, and FAME). This is consistent with the Excel example calculations provided by Jess.
normalize_area_tidy(df)
|
peak list as dataframe or tibble, loaded using
|
This should only be used VERY carefully and under extreme circumstances, as it introduces some dicey assumptions and may not be totally statistically valid
Returns with same fields as input dataframe as well as Normalized CFactor (conversion factor; used for normalization), NormalizedArea and other intermeidates used in normalization calculations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.