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.

