View source: R/blank_substraction.R
blank_substraction | R Documentation |
For each substance that is present in blanks, samples are corrected by subtraction of the respective quantity. If more than one sample is submitted, abundances are averaged. This procedure is sensitive to differences in the total concentration of samples and should be applied to samples where the preparation yields comparable concentrations for each sample.
blank_substraction(input = NULL, blanks = NULL, conc_col_name = NULL)
input |
A GCalign Object |
blanks |
Character vector of names of negative controls. |
conc_col_name |
If the input is a GCalign object the variable containing the abundance values needs to be specified. |
Substances that are present in one or more blanks are identified in the aligned dataset, then the mean abundance is calculated for the blanks and the corresponding value is subtracted from each sample. If the control contains higher concentration (i.e. blank substation creates negative abundances) warnings will be shown and the respective value will be set to zero
## Not run
#out <- blank_substraction(aligned_peak_data, blanks = "M2", conc_col_name = "area")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.