im2spp: Convert 'im' to 'anlaytePointPattern'

View source: R/helping-functions.R

im2sppR Documentation

Convert 'im' to 'anlaytePointPattern'

Description

A method to convert 'im' objects to 'anlaytePointPattern' objects.

Usage

im2spp(obj, win, rescale = FALSE, zero.rm = TRUE, mzVal = "mz")

Arguments

obj

S3 object of type 'im'.

win

S3 object of type 'owin' representing the window or the resulting 'anlaytePointPattern' object.

rescale

logical, whether to scale the intensities of the output 'im' object to [0,1] interval.

zero.rm

for internal use only.

mzVal

optional, the m/z value of the analyte represnted in 'obj'.

Value

an object of type 'anlaytePointPattern'.


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