readSpotTypes             package:limma             R Documentation

_R_e_a_d _S_p_o_t _T_y_p_e_s _F_i_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     Read a table giving regular expressions to identify different
     types of spots in the gene-dataframe.

_U_s_a_g_e:

     readSpotTypes(file="SpotTypes.txt",path=NULL,sep="\t",check.names=FALSE,...)

_A_r_g_u_m_e_n_t_s:

    file: character string giving the name of the file specifying the
          spot types.

    path: character string giving the directory containing the file.
          Can be omitted if the file is in the current working
          irectory.

     sep: the field separator character

check.names: logical, if 'FALSE' column names will not be converted to
          valid variable names, for example spaces in column names will
          not be left as is

     ...: any other arguments are passed to 'read.table'

_D_e_t_a_i_l_s:

     The file is a text file with rows corresponding to types of spots
     and the following columns: 'SpotType' gives the name for the spot
     type, 'ID' is a regular expression matching the ID column, 'Name'
     is a regular expression matching the Name column, and 'Color' is
     the R name for the color to be associated with this type.

_V_a_l_u_e:

     A data frame with columns 

SpotType: character vector giving names of the spot types

      ID: character vector giving regular expressions

    Name: character vector giving regular expressions

   Color: character vector giving names of colors

_A_u_t_h_o_r(_s):

     Gordon Smyth following idea of James Wettenhall

_S_e_e _A_l_s_o:

     An overview of LIMMA functions for reading data is given in
     03.ReadingData.

