dot-shrinkData: Shrink data

.shrinkDataR Documentation

Shrink data

Description

This function is for internal use only. It tries to shrink MSI data (in terms of size) for including it within a package.

Usage

.shrinkData(x, mzKeep, fwhmObj)

Arguments

x:

Dataset, a list of MALDIquant::MassPeaks objects.

mzKeep:

numeric vector, m/z values to retain.

fwhmObj:

the 'fwhm' S3 object. See ?moleculaR::estimateFwhm.

Value

Filtered list of MALDIquant::MassPeaks objects.


CeMOS-Mannheim/moleculaR documentation built on April 14, 2025, 8:27 a.m.