plotRGBDataOnImg: plotRGBDataOnImg: Function to plot generic data on a RGB...

Description Usage Arguments

View source: R/plotMassImageByPeak.R

Description

plotRGBDataOnImg: Function to plot generic data on a RGB raster using rMSI pixel locations.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
plotRGBDataOnImg(
  img,
  Rvalues,
  Gvalues,
  Bvalues,
  RText,
  GText,
  BText,
  XResLevel = 3,
  light = 3,
  rotation = 0
)

Arguments

img

an rMSI object.

Rvalues

a vector of values to be ploted as red layer sorted according IDs of rMSI object.

Gvalues

a vector of values to be ploted as green layer sorted according IDs of rMSI object.

Bvalues

a vector of values to be ploted as blue layer sorted according IDs of rMSI object.

RText

Text to plot as Red scale label.

GText

Text to plot as Green scale label.

BText

Text to plot as Blue scale label.

XResLevel

the interpolation to use in plot.

light

the light to aplied to raster.

rotation

image rotation in degree.


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