View source: R/plotPeakMatrix.R
Plot arbitrary values in a MS images raster positions.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
peakMatrix |
the peak matrix in an rMSIproc object. |
values |
a vector with the values to be plotted in each pixel. |
nrow |
number of rows of the plotted matrix layout (only used if byrow == F) |
ncol |
number of cols of the plotted matrix layout (only used if byrow == T) |
byrow |
a bool specifing if images must be arranged in rows. |
margin |
the separation between plotted images. |
img_names |
a character vector with img names in the desierd plotting order. |
labels |
an alternative character vector with the labels to be displayed for each image. |
rotations |
a vector with the rotation of each images specified in degrees. |
mirror_x |
a bool vector specifing if each image must be flipped or not in X direction prior to rotation. |
mirror_y |
a bool vector specifing if each image must be flipped or not in Y direction prior to rotation. |
pixel_size_um |
the pixel resolution in um. |
scale_title |
the label for the color scale. |
light |
the lighting of the plotted image. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.