Create an Assignment S4 class object
assignment.Rd
Constructor methods for creating an object of S4 class Assignment
.
Usage
assignment(feature_data, parameters, ...)
# S4 method for tbl_df,AssignmentParameters
assignment(feature_data, parameters)
# S4 method for AnalysisData,AssignmentParameters
assignment(feature_data, parameters)
# S4 method for Analysis,AssignmentParameters
assignment(feature_data, parameters, type = c("pre-treated", "raw"))
Arguments
- feature_data
a tibble or an object of S4 class
AnalysisData
orAnalysis
containing the feature intensity matrix of m/z for which to assign molecular formulas. See details.- parameters
an S4 object of class
AssignmentParamters
containing the parameters for molecular formula assignment- ...
arguments to pass to the relevant method
- type
type
pre-treated
orraw
data on which to perform assignment when argumentfeature_data
is of classAnalysis
Examples
mf_assignments <- assignment(feature_data,assignmentParameters('FIE-HRMS'))
mf_assignments
#>
#> assignments v1.0.2
#> Assignment:
#> Features: 10
#> Correlations: 0
#> Relationships: 0
#>