image.msimat: Plot mass spectrometry imaging image of a msimat object

Description Usage Arguments

View source: R/image.msimat.R

Description

From an MSI dataset imported with msimat, plot an image of the signal intensity for a specified peaks. The image dimensions must be specified as either nrow or |codencol.

Usage

1
2
3
## S3 method for class 'msimat'
image(d, peak = NULL, nrow = NULL, ncol = NULL,
  col = grDevices::terrain.colors(36), main = NULL, ...)

Arguments

d

msimat; MSI dataset imported with msimat

peak

Name of the peak to plot. If NULL, then plot the total intensity for all peaks

nrow

Number of rows in the MSI image matrix

ncol

Number of columns in the MSI image matrix

col

Color scale to use (passed to image)

main

Title of plot, otherwise the peak number

...

Other parameters to pass to image


kbseah/mass2adduct documentation built on June 9, 2021, 9:20 p.m.