PlotValues: PlotValues.

Description Usage Arguments

View source: R/librMSIdata.R

Description

Plot values in a image using the same methods as plotting an MS image. The raster position of each value is definied in posMat.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
PlotValues(
  posMat,
  values,
  rotate = 0,
  scale_title = "",
  pixel_size_um = 100,
  vlight = 5,
  labels_x = NULL,
  labels_y = NULL,
  labels_text = NULL
)

Arguments

posMat

a two columns matrix where first column ara the x coodrinates of values and second column the y coordinates.

values

the values to plot.

rotate

rotation to apply.

scale_title

a text label for the color scale.

pixel_size_um

the pixel resolution in um.

vlight

the lighting of the plotted image.

labels_x

x coordinates of text labels optionally overlaid to the plot.

labels_y

y coordinates of text labels optionally overlaid to the plot.

labels_text

text labels optionally overlaid to the plot.


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