UFSA_precursorType_corrector {IDSL.FSA}R Documentation

UFA Precursor Type Corrector

Description

Precursor type corrector from MSP files. This function initially attempts to standardize the precursor types to be consistent with the 'ionization_pathway_deconvoluter' module of the IDSL.SUFA package.

Usage

UFSA_precursorType_corrector(precursorType, ionMode = NULL)

Arguments

precursorType

precursorType

ionMode

ionMode

Value

correctedPrecursorType

Examples

uncorrectedPrecursorType <- c("[M]+", "[M+H]+", "[2M-Cl]-", "[3M+COO-H2O+Na-KO2+HCl-NH4]-")
precursorType <- UFSA_precursorType_corrector(uncorrectedPrecursorType, ionMode = NULL)

[Package IDSL.FSA version 1.2 Index]