MassSpectrum: Create a 'MassSpectrum' object.

Description Usage Arguments Value

View source: R/MassSpectrum.R

Description

Create a MassSpectrum object.

Usage

1
MassSpectrum(mz, intensity, isCentroided = FALSE)

Arguments

mz

A numeric vector of m/z values.

intensity

A numeric vector of intensities.

isCentroided

A logical value indicating whether the spectrum has been centroided or not.

Value

object A MassSpectrum object.


kuwisdelu/MSExample documentation built on May 13, 2020, 10:25 p.m.