write.fit               package:limma               R Documentation

_W_r_i_t_e _M_A_r_r_a_y_L_M _O_b_j_e_c_t _t_o _a _F_i_l_e

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

     Write a microarray linear model fit to a file.

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

     write.fit(fit, results=NULL, file, digits=3, adjust="none", sep="\t", ...)

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

     fit: object of class 'MArrayLM' containing the results of a linear
          model fit

 results: object of class 'TestResults'

    file: character string giving name of file

  digits: integer indicating precision to be used

  adjust: character string specifying method to use to adjust the
          P-values for multiple testing, e.g., "holm" or "fdr". See
          'p.adjust' for the available options. If 'NULL' or '"none"'
          then the P-values are not adjusted.

     sep: the field separator string. Values in the output file will be
          separated by this string.

     ...: other arguments are passed to 'write.table'

_D_e_t_a_i_l_s:

     This function writes a tab-delimited text file containing for each
     gene (1) the average log-intensity, (2) the log-ratios, (3)
     moderated t-statistics, (4) F-statistic if available, (5)
     classification if available and (6) gene names and annotation.

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

     No value is produced but a file is written to the current working
     directory.

     The p-value adjustment is done separately for each column. This is
     equivalent to 'decideTests' with 'method="separate"'.

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

     Gordon Smyth

_S_e_e _A_l_s_o:

     'write' in the base library.

     An overview of linear model functions in limma is given by
     06.LinearModels.

