read.phenoData            package:Biobase            R Documentation

_R_e_a_d '_p_h_e_n_o_D_a_t_a'

_D_e_s_c_r_i_p_t_i_o_n:

     Create an instance of class phenoData by reading a file or by
     using widgets.

_U_s_a_g_e:

     read.phenoData(filename = NULL, sampleNames = NULL, widget = getOption("BioC")$Base$use.widgets, ...)

_A_r_g_u_m_e_n_t_s:

filename: filename from which to read information for 'pData' slot.

sampleNames: 'sampleNames' for rows of 'pData'. If widgets are used
          this is required.

  widget: logical. If 'TRUE' and a filename is not given, widgets are
          used to enter information.

     ...: Further arguments to 'read.table' 

_D_e_t_a_i_l_s:

     The function 'read.table' is used to read 'pData'. The function
     must be a flat file. The first row must be the column names which
     are the covariate names. The first column must be the sampleNames.
     Entries must be space delimited unless otherwise specied through
     ....

     If a filename overides the 'widget' argument.

     If no filename is given and no widgets are used a dummy phenoData
     object is created for the sampleNames. See example.

_V_a_l_u_e:

     An instance of class 'phenoData'

_A_u_t_h_o_r(_s):

     Rafael A. Irizarry <rafa@jhu.edu>

_S_e_e _A_l_s_o:

     'phenoData', 'tkphenoData'

_E_x_a_m_p_l_e_s:

     pd <- read.phenoData(sampleNames=c("sample1","sample2"),widget=FALSE)
     show(pd)
     show(pData(pd))

