Skip to contents

Add molecular formula assignments to an Analysis S4 class object.

Usage

addAssignments(analysis, assignment)

# S4 method for Analysis,Assignment
addAssignments(analysis, assignment)

Arguments

analysis

an object of S4 class Analysis

assignment

an object of S4 class Assignment that includes assignemnts for the m/z features specified for argument analysis

Value

An object of S4 class Analysis that includes the molecular formulas in the feature names for the pre-treated data.