rtmsSpectrum {rtms}R Documentation

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)

Arguments

mz

A numeric vector of m/z values

intensity

A numeric vector of intensity values

Value

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


[Package rtms version 0.2.0 Index]