View source: R/plotMassImageByPeak.R
Plot a mass image of a up to 3 selected ions.
1 2 3 4 5 6 7 8 9 10 11 12 13 | plotMassImageByPeak(
img,
mass.peak,
tolerance = 0.25,
XResLevel = 3,
NormalizationCoefs = NULL,
rotation = 0,
show_axes = F,
scale_to_global_intensity = F,
vlight = 3,
crop_area = NULL,
intensity_limit = NULL
)
|
img |
an rMSI data object. |
mass.peak |
a vector of up to 3 elements containing the mass of ions to plot. |
tolerance |
a vector of up to 3 elements containing the mass range to plot for each ion. |
XResLevel |
the interpolation factor (default is 3). |
NormalizationCoefs |
optional parameter with a matrix containing the scaling factors for each pixel. |
rotation |
the rotation of image expressed in deg. Valid values are: 0, 90, 180 and 270. |
show_axes |
if true axis will be plotted. Otherwise a um scale and xy arrows are drawn. |
scale_to_global_intensity |
scale the image intensity to fit into the global intensity (only for RGB). |
vlight |
the lighting of the plotted image. |
crop_area |
the region of image to show in a vector formated as c(left, right, bottom, top) if null the whole image is plot. |
intensity_limit |
limit the all pixels intensities to a given value. If null no limiting is used. Plots a mass image. If only one mass ion are used a rainbow color code image is generated. If more ions are used each mass will be encoded in an RGB color channel. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.