getImageColsFromMass: Obtain the rMSI datacube columns corresponding to a mass.

Description Usage Arguments Value

View source: R/libimgramdisk.R

Description

Obtains the rMSI datacube columns that corresponds to a mass range defined by a central mass and a tolerance. The central mass and tolerance are also recalculated to fit acurately in the dataset mass axis.

Usage

1
getImageColsFromMass(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: a Cols vector containing columns of the datacube, Mass and Tolerance recalculated to correctly fit the dataset.


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