rtmsSpectrum: Create a new RTMS spectrum

View source: R/rtmsSpectrum.R

rtmsSpectrumR 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


rtms documentation built on June 7, 2023, 5:59 p.m.

Related to rtmsSpectrum in rtms...