journalpng            package:simpleaffy            R Documentation

_P_r_o_d_u_c_e _a _d_e_v_i_c_e _f_o_r _p_r_o_d_u_c_i_n_g _a_r_t_w_o_r_k _f_o_r _p_r_e_s_e_n_t_a_t_i_o_n_s _a_n_d _j_o_u_r_n_a_l_s

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

    file: the file to write the figure to 

   width: the width of the figure 

  height: its height 

     res: resolution in dots-per-inch 

_V_a_l_u_e:

     A table containing annotation data

_A_u_t_h_o_r(_s):

     Crispin J Miller

_R_e_f_e_r_e_n_c_e_s:

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

_E_x_a_m_p_l_e_s:

        ## 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)

