journalpng {simpleaffy} | R Documentation |
journalpng generates a device to print a 4 x 4 inch 300 dpi figure (by default). screenpng does the same, but 72dpi.
journalpng(file="figure.png",width=4, height=4,res=300) screenpng(file="figure.png",width=4, height=4,res=72)
file |
the file to write the figure to |
width |
the width of the figure |
height |
its height |
res |
resolution in dots-per-inch |
A table containing annotation data
Crispin J Miller
http://bioinformatics.picr.man.ac.uk/
## 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)