assignMFs | R Documentation |
Perform automated molecular formula assignment.
assignMFs(
feature_data,
parameters = assignmentParameters("FIE-HRMS"),
verbose = TRUE,
...
)
## S4 method for signature 'tbl_df'
assignMFs(
feature_data,
parameters = assignmentParameters("FIE-HRMS"),
verbose = TRUE
)
## S4 method for signature 'AnalysisData'
assignMFs(
feature_data,
parameters = assignmentParameters("FIE"),
verbose = TRUE
)
## S4 method for signature 'Analysis'
assignMFs(
feature_data,
parameters = assignmentParameters("FIE"),
verbose = TRUE,
type = c("pre-treated", "raw")
)
feature_data |
a tibble or an object of S4 class |
parameters |
an S4 object of class |
verbose |
should progress output be printed to the console |
... |
arguments to pass to the relevant method |
type |
|
If argument feature_data
is specified as a tibble, this should be a feature intensity matrix where
the columns are the m/z
features to assign and the rows are the individual observations, with the
cells as abundance values. he m/z features provided as column names should be in the form of
<ionisation_mode><m/z>@<retention_time>. Ionisation mode should be given as a prefix n or p for negative
or positive ionisation modes respectively. Feature m/z should be provided to an accuracy of least 5 decimal
places. The retention time portion (@<retention_time>) is only required for LC-MS data and should be provided
in minutes.
plan(future::sequential)
p <- assignmentParameters('FIE-HRMS')
assignments <- assignMFs(feature_data,p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.