plot_low_res: plot_low_res

Description Usage Arguments Author(s) See Also Examples

Description

This function generates low resolution plots of pixel values stored in arrays, and is called by function spot_id.

Usage

1
2
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

1
2
3
4
5
6
7
8
# 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)

PersomicsArray documentation built on May 2, 2019, 2:44 a.m.