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

Description Usage Arguments Value Author(s) References Examples

View source: R/get.annotation.R

Description

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

Usage

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

Author(s)

Crispin J Miller

References

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

Examples

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

simpleaffy documentation built on Nov. 8, 2020, 11:09 p.m.