rawToPeaks: Create list of 'MassPeaks' objects

View source: R/rawToPeaks.R

rawToPeaksR Documentation

Create list of MassPeaks objects

Description

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

Usage

rawToPeaks(mz, I)

Arguments

mz

Vector of m/z values.

I

Matrix of peak intensity values.

Details

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

Value

A list of MassPeaks objects.


Japal/MALDIrppa documentation built on Jan. 31, 2024, 12:15 p.m.