Description Usage Arguments Value
calculate the coefficient of variation (CV%) for all LC-MS features of peak table using a set of observations (e.g. pooled quality control samples). The CV% is calculated according to the following equation:
CV\% = (δ / μ) * 100
where δ is the standard deviation and μ is the mean
1 |
peakTable |
either a data.frame, full file path as a character string to a .csv file of a peak table in the form observation (samples) in columns and variables (Mass spectral signals) in rows. If argument is not supplied a GUI (tcltk) file selection window will open and a .csv file can be selected. |
qcNames |
character vector quality control/ analytical replicate names to identify appropriate observation (sample) columns in peak table. with to calculate the coefficient of variance (CV%). |
thresh |
numeric the minimum CV% to retain an LC-MS variable (default = 30 i.e. 30%). |
a data frame similar to peakTable with any rows (LC-MS features) removed which are above the maximum CV% threshold. In addition a new column is added 'coeffVar' which contains the CV% calculated for each variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.