Learn R Programming

simpleaffy (version 2.48.0)

journalpng: Produce a device for producing artwork for presentations and journals

Description

journalpng generates a device to print a 4 x 4 inch 300 dpi figure (by default). screenpng does the same, but 72dpi.

Usage

journalpng(file="figure.png",width=4, height=4,res=300) screenpng(file="figure.png",width=4, height=4,res=72)

Arguments

file
the file to write the figure to
width
the width of the figure
height
its height
res
resolution in dots-per-inch

Value

A table containing annotation data

References

http://bioinformatics.picr.man.ac.uk/

Examples

Run this code
   ## Not run: 
#      journalpng(file="results/figure1.png"); # starts a new device
#      trad.scatter.plot(exprs(eset)[,1],exprs(eset)[,2])
#      dev.off();    # writes the file at this point.
#   ## End(Not run)

Run the code above in your browser using DataLab