Learn R Programming

rtms (version 0.2.0)

rtmsSpectrum: Create a new RTMS spectrum

Description

Generates an RTMS spectrum object (of class rtmsSpectrum) from a given vector of m/z and intensity values.

Usage

rtmsSpectrum(mz, intensity)

Value

An object of class rtmsSpectrum with the given m/z and intensity values

Arguments

mz

A numeric vector of m/z values

intensity

A numeric vector of intensity values