View source: R/plotMassImageByPeak.R
plotRGBDataOnImg: Function to plot generic data on a RGB raster using rMSI pixel locations.
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
)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.