plot,ms.image,missing-method | R Documentation |
plot
extends the generic function to ms.image-class objects.Visualize an MS image.
plot
extends the generic function to ms.image-class objects.
## S4 method for signature 'ms.image,missing' plot(x, palette = "inferno")
x |
ms.image-class object. See msImage. |
palette |
string. Color palette. See viridis. |
a ggplot2 plot.
## Load package library("SPUTNIK") ## Create ms.image-class object msIm <- msImage(values = matrix(rnorm(200), 40, 50), name = "test", scale = TRUE) ## Plot the image ## plot(msIm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.