AffyBatch-class             package:affy             R Documentation

_C_l_a_s_s _A_f_f_y_B_a_t_c_h

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

     This is a class representation for Affymetrix GeneChip probe level
     data. The main component are the intensities from multiple arrays
     of the same 'CDF' type. It extends 'eSet'.

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

     Objects can be created using the function 'read.affybatch' or the
     wrapper 'ReadAffy'.

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

     '_c_d_f_N_a_m_e': Object of class 'character' representing the name of
          'CDF' file associated with the arrays in the 'AffyBatch'.

     '_n_r_o_w': Object of class 'integer' representing the physical number
          of rows in the arrays.

     '_n_c_o_l': Object of class 'integer' representing the physical number
          of columns in the arrays.

     '_a_s_s_a_y_D_a_t_a': Object of class 'AssayData' containing the raw data,
          which will be at minimum a matrix of intensity values. This
          slot can also hold a matrix of standard errors if the 'sd'
          argument is set to 'TRUE' in the call to 'ReadAffy'. 

     '_p_h_e_n_o_D_a_t_a': Object of class 'AnnotatedDataFrame' containing
          phenotypic data for the samples.

     '_a_n_n_o_t_a_t_i_o_n' A character string identifying the annotation that
          may be used for the 'ExpressionSet' instance.

     '_f_e_a_t_u_r_e_D_a_t_a' Object of class 'AnnotatedDataFrame' containing
          feature-level (e.g., probeset-level) information.

     '_e_x_p_e_r_i_m_e_n_t_D_a_t_a': Object of class "MIAME" containing
          experiment-level information. 

     '_n_o_t_e_s': Object of class "character" Vector of explanatory text 

_E_x_t_e_n_d_s:

     Class '"eSet"', directly.

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

     _c_d_f_N_a_m_e 'signature(object = "AffyBatch")': Obtains the cdfName
          slot.

     _p_m<- 'signature(object = "AffyBatch")': replaces the perfect match
          intensities 

     _p_m 'signature(object = "AffyBatch")': extracts the pm intensities. 

     _m_m<- 'signature(object = "AffyBatch")': replaces the mismatch
          intensities.

     _m_m 'signature(object = "AffyBatch")': extracts the mm intensities. 

     _p_r_o_b_e_s 'signature(object = "AffyBatch", which)': extract the
          perfect match or mismatch probe intensities. Uses which can
          be "pm" and "mm".

     _e_x_p_r_s 'signature(object = "AffyBatch")': extracts the expression
          matrix.

     _e_x_p_r_s<- 'signature(object = "AffyBatch", value = "matrix")':
          replaces the expression matrix.

     _s_e._e_x_p_r_s 'signature(object = "AffyBatch")': extracts the matrix of
          standard errors of expression values, if available.

     _s_e._e_x_p_r_s<- 'signature(object = "AffyBatch", value = "matrix")':
          replaces the matrix of standard errors of expression values.

     [<- 'signature(x = "AffyBatch")': replaces subsets. 

     [ 'signature(x = "AffyBatch")': subsets by array.

     _b_o_x_p_l_o_t 'signature(x = "AffyBatch")':  creates a 'boxplots of log
          base 2 intensities. '

     _h_i_s_t 'signature(x = "AffyBatch")':  creates a plot showing all the
          histograms of the pm,mm or both data. See 'plot.density'

     _c_o_m_p_u_t_e_E_x_p_r_S_e_t 'signature(x = "AffyBatch", summary.method =
          "character")': For each probe set computes an expression
          value using 'summary.method'. 

     _f_e_a_t_u_r_e_N_a_m_e_s 'signature(object = "AffyBatch")': return the probe
          set names also referred to as the Affymetrix IDs. Notice that
          one can not assign 'featureNames'. You must do this by
          changing the cdfenvs.

     _g_e_n_e_N_a_m_e_s 'signature(object="AffyBatch'")': deprecated, use
          'featureNames'

     _g_e_t_C_d_f_I_n_f_o 'signature(object = "AffyBatch")': retrieve the
          environment that defines the location of probes by probe set. 

     _i_m_a_g_e 'signature(x = "AffyBatch")': creates an image for each
          sample.

     _i_n_d_e_x_P_r_o_b_e_s 'signature(object = "AffyBatch", which =
          "character")': returns a  list with locations of the probes
          in each probe set. The affyID corresponding to the probe set
          to retrieve can be specified in an optional parameter
          'genenames'. By default, all the affyIDs are retrieved. The
          names of the elements in the list returned are the affyIDs.
          'which' can be "pm", "mm", or "both". If "both" then perfect
          match locations are given followed by mismatch locations.

          'signature(object = "AffyBatch", which = "missing")' (i.e.,
          calling 'indexProbes' without a "which" argument) is the same
          as setting "which" to "pm". 

     _i_n_t_e_n_s_i_t_y<- 'signature(object = "AffyBatch")': a replacement
          method for the 'exprs' slot, i.e. the intensities. 

     _i_n_t_e_n_s_i_t_y 'signature(object = "AffyBatch")': extract the 'exprs'
          slot, i.e. the intensities. 

     _l_e_n_g_t_h 'signature(x = "AffyBatch")': returns the number of
          samples. 

     _p_m_i_n_d_e_x 'signature(object = "AffyBatch")': return the location of
          perfect matches in the intensity matrix.

     _m_m_i_n_d_e_x 'signature(object = "AffyBatch")': return the location of
          the mismatch intensities. 

     _d_i_m 'signature(x = "AffyBatch")': Row and column dimensions.

     _n_c_o_l 'signature(x = "AffyBatch")': An accessor function for
          'ncol'.

     _n_r_o_w 'signature(x = "AffyBatch")': an accessor function for
          'nrow'.

     _n_o_r_m_a_l_i_z_e 'signature(object = "AffyBatch")': a method to
          'normalize'. The method accepts an argument 'method'. The
          default methods is specified in package options (see the main
          vignette).

     _n_o_r_m_a_l_i_z_e._m_e_t_h_o_d_s 'signature(object = "AffyBatch")': returns the
          normalization methods defined for this class. See
          'normalize'.

     _p_r_o_b_e_N_a_m_e_s 'signature(object = "AffyBatch")': returns the probe
          set associated with each row of the intensity matrix. 

     _p_r_o_b_e_s_e_t 'signature(object = "AffyBatch",genenames=NULL,
          locations=NULL)': Extracts 'ProbeSet' objects related to the
          probe sets given in genenames. If an alternative set of
          locations defining pms and mms a list with those locations
          should be passed via the 'locations' argument.

     _b_g._c_o_r_r_e_c_t 'signature(object = "AffyBatch", method="character")'
          applies background correction methods defined by method.

     _u_p_d_a_t_e_O_b_j_e_c_t 'signature(object = "AffyBatch", ...,
          verbose=FALSE)': update, if necessary, an object of class
          AffyBatch to its current class definition. 'verbose=TRUE'
          provides details about the conversion process.

_N_o_t_e:

     This class is better described in the vignette.

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

     related methods 'merge.AffyBatch', 'pairs.AffyBatch', and 'eSet'

_E_x_a_m_p_l_e_s:

     ## load example
     data(affybatch.example)

     ## nice print
     print(affybatch.example)

     pm(affybatch.example)[1:5,]
     mm(affybatch.example)[1:5,]

     ## get indexes for the PM probes for the affyID "A28102_at" 
     mypmindex <- pmindex(affybatch.example,"A28102_at")
     ## same operation using the primitive
     mypmindex <- indexProbes(affybatch.example, which="pm", genenames="A28102_at")[[1]]
     ## get the probe intensities from the index
     intensity(affybatch.example)[mypmindex, ]

     ## load bigger example (try 'help(Dilution)' )
     data(affybatch.example)
     description(affybatch.example) ##we can also use the methods of eSet
     sampleNames(affybatch.example)
     abstract(affybatch.example)

