rawToSpectra {MALDIrppa}R Documentation

Create list of MassSpectrum objects

Description

This is an auxiliary function to create a list of MassSpectrum objects from raw data.

Usage

rawToSpectra(mz, I)

Arguments

mz

Vector of m/z values.

I

Matrix of intensity values.

Details

This functions creates a list of MassSpectrum objects from a vector of common m/z values and a matrix of column vectors of intensities for a collections of mass spectra. The column names are used to label the elements of the list.

Value

A list of MassSpectrum objects.

See Also

See importSpectra.


[Package MALDIrppa version 1.1.0-2 Index]