aafTable-class            package:annaffy            R Documentation

_C_l_a_s_s _a_a_f_T_a_b_l_e, _a _t_a_b_u_l_a_r _m_i_c_r_o_a_r_r_a_y _d_a_t_a _c_l_a_s_s

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

     A class for storing and flexible output of microarray data to HTML
     and text formats.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects are generally created by any of the annotation table
     constructors that are also part of this package. Objects can also
     be created manually  by calls of the form 'new("aafList",
     probeids, table)'.

_S_l_o_t_s:


     '_p_r_o_b_e_i_d_s': Object of class 'character' containing the probe ids
          for each row of the table.

     '_t_a_b_l_e': Object of class 'list' containing 'aafList' objects all
          of the same length, representing the columns of the table.
          Each item in the list must have a unique name.


_M_e_t_h_o_d_s:


     _p_r_o_b_e_i_d_s (aafTable): Returns a character vector containing the
          probe ids for each row of the table.

     _p_r_o_b_e_i_d_s<- (aafTable): Sets the probe ids for the table rows. Can
          be set to 'character(0)' if unknown or not applicable.

     _c_o_l_n_a_m_e_s (aafTable): Returns a character vector containing the
          names of the columns stored in the table.

     _c_o_l_n_a_m_e_s<- (aafTable): Set the column names for the table. Each
          must be unique.

     _d_i_m (aafTable): Returns the dimensions of the table.

     _m_e_r_g_e (aafTable, aafTable, all = FALSE, all.x = all, all.y = all, 
          suffixes = c(".x",".y")): Merges two tables together,
          aligning common probe ids if possible. Duplicate column names
          are given suffixes to make them unique. Returns the merged
          table.

     _r_b_i_n_d (aafTable, aafTable, ...): Vertically combines tables by
          row. Requires that column names be identical and that all
          tables either have probe ids defined or not.

     [ Returns a subset of the table based on [row, column]. Indices
          may be passed as integers or probe ids/column names.

     [[ Returns the given table column. This also supports recursive
          subsetting to address columns, then cells, then sub-cells (if
          applicable). See Extract for more information.

     $ Returns the given table column.

     _s_a_v_e_H_T_M_L (aafTable, filename, title = "Bioconductor Affymetrix
          Probe Listing", colnames = colnames(aafTable), range =
          1:dim(aafTable)[1], open = FALSE, widget = FALSE):  Saves the
          table to HTML with the specified filename and title. Both the
          columns and the range of table rows can be specified. Range
          can either be specified as a character vector of probe ids or
          an integer vector of row positions. One can also specify
          whether to open the resulting file in the browser and whether
          to use a widget for column selection.

     _s_a_v_e_T_e_x_t (aafTable, filename, header = TRUE, colnames =
          colnames(aafTable), range = 1:dim(aafTable)[1], widget =
          FALSE): Saves the table to tab delimited text with specified
          filename and optional header.  Both the columns and the range
          of table rows can be specified.  Range can either be
          specified as a character vector of probe ids or an integer
          vector of row positions. One can also specify whether to use
          a widget for column selection.


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

     Colin A. Smith, annaffy@colinsmith.org

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

     aafTable, aafTableFrame, aafTableAnn, aafTableInt

