This is an auxiliary function to create a list of MassSpectrum objects from raw data.
Usage
rawToSpectra(mz, I)
Value
A list of MassSpectrum objects.
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.