plot_low_res {PersomicsArray} | R Documentation |
plot_low_res
Description
This function generates low resolution plots of pixel values stored in arrays, and is called by function spot_id.
Usage
plot_low_res(plot.image=NULL, rescale.factor=1000, add=FALSE,
pallete=gray.colors(20),main=NULL)
Arguments
plot.image |
Array-type object containing image data. |
rescale.factor |
Numeric value specifying the fold reduction of resolution from original image. Larger values make the function run faster, but at the cost of image resolution. |
add |
If TRUE, adds the plot to the current active device. If FALSE, a new plot is generated. |
pallete |
Specifies the color pallete to be used for generating the plot. |
main |
Character string containing the plot title. |
Author(s)
John Smestad
smestad.john@gmail.com
See Also
<PersomicsArray-package
>
<spot_id
>
<example_annotation
>
<example_plate
>
Examples
# load example image data from package
data("PersomicsPlate")
# isolate single color channel
red <- example_plate[,,1]
# plot low resolution image of
plot_low_res(red, rescale.factor=10)
[Package PersomicsArray version 1.0 Index]