Description Usage Arguments Value
This function ensures that metabolomics datasets used as inputs for the program possess all of the required fields, plus any optional columns that may appear in the final report table.
1 | detectFields(Data, table, mz, rt, id, adduct, samples, extra, Q)
|
Data |
a |
table |
data frame containing metabolomics features or path to metabolomics data file. |
mz |
Character name(s) / regular expressions associated with data column containing m/z values. The first column whose name contains this expression will be selected for analysis. |
rt |
Character name(s) / regular expression associated with data column containing retention time values. The first column whose name contains this expression will be selected for analysis. |
id |
Character name(s) or regular expression associated with data column containing metabolomics feature identifiers. The first column whose name contains this expression will be selected for analysis. |
adduct |
Character name(s) or regular expression associated with data column containing adduct, formula, or additional annotations. The first column whose name contains this expression will be selected for analysis. |
samples |
Character names of columns containing sample values. All numeric columns containing these keywords are selected for analysis. If no keywords given, searches for longest stretch of numeric columns remaining. |
extra |
Character names of columns containing additional feature information, e.g. non-analyzed sample values. All columns containing these keywords are selected for analysis. |
Q |
Character name(s) or regular expression associated with numeric feature abundance quantiles. |
an initialized and formatted metabData
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.