loadImageSliceFromMass: Load a image slice from a specified mass and tolerance.

Description Usage Arguments Value

View source: R/libimgramdisk.R

Description

Loads a slice of an rMSI object into RAM. The slice is determined by a mass and a tolerance. The returned value is not a MS image, in order to obtain a plotable image the function builRasterImageFromMass must be used.

Usage

1
loadImageSliceFromMass(Img, Mass, Tolerance)

Arguments

Img

the rMSI object where the data is stored (ramdisk).

Mass

the slected mass.

Tolerance

a tolerance expressed in daltons around the slected mass.

Value

a list with data matrix containing the image slice, the used mass and tolerance.


prafols/rMSI documentation built on Dec. 12, 2021, 7:29 p.m.