FSA_spectra_marker_generator {IDSL.FSA}R Documentation

FSA Spectra Marker Generator

Description

This function generates spectra markers

Usage

FSA_spectra_marker_generator(FSdb, ratio2basePeak4nSpectraMarkers = 0,
aggregationLevel = NA)

Arguments

FSdb

FSdb object from the 'msp2FSdb' module

ratio2basePeak4nSpectraMarkers

Ratio of peaks in fragmentation spectra to the basepeak to calculate minimum qualified number of matched abundant peaks

aggregationLevel

c(NA, 0, 1, 2, 3). When 'NA', this function returns a matrix for the spectra markers. When integer numbers are used, the ion marker masses are grouped by a rounding digit equal to this number.

Value

spectraMarkerMass

a grouped or a matrix of ion marker masses corresponding to FSdb ids

nSpectraMarkers

number of spectra markers for each FSdb id


[Package IDSL.FSA version 1.2 Index]