Makesense            package:geneplotter            R Documentation

_P_r_o_d_u_c_e _S_m_o_o_t_h_e_d _S_e_n_s_e/_A_n_t_i-_s_e_n_s_e _F_o_r _A_l_l _C_h_r_o_m_o_s_o_m_e_s

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

     'Makesense' takes either an exprSet object or a matrix of gene
     expressions and will produce a smoothed positive and negative
     strands for all chromosomes.

_U_s_a_g_e:

     Makesense(expr, lib, ...)

_A_r_g_u_m_e_n_t_s:

    expr: Either an exprSet object or a matrix of gene expressions with
          genes as rows and columns as samples.

     lib: The name of the Bioconductor annotation data package that
          will be used to provide mappings from probes to chromosomal
          locations, such as 'hgu95av2' or 'hgu133a'.  If 'expr' is an
          'exprSet', the argument defaults to the 'annotation' slot of
          the 'exprSet'.

     ...: Currently, the only optional argument is 'f', the smoother
          span to be passed to 'lowess'. Its value should be in the
          interval of (0,1). This gives the proportion of points in the
          plot which influence the smooth at each value. Larger values
          give more smoothness.  The default value for this argument is
          1/10.

_D_e_t_a_i_l_s:

     The 'expr' argument can either be of class 'exprSet' or 'matrix',
     where the latter represents the matrix of gene expressions.

     If the 'expr' argument is an 'exprSet', the 'lib' argument will
     use the 'annotation' slot.  Users can override this behaviour and
     supply their own 'lib' argument if they wish.  If the 'exprSet'
     has no value associated with the 'annotation' slot (which should
     not happen, but is possible) then the user must supply the 'lib'
     argument manually or the function will throw an error.

_V_a_l_u_e:

     A list of 2 components: 

    ans2: a list, whose components correspond to samples  in the same
          order as appearing in the columns of  'expr'. Each component
          is also a list, named by chromosomes  "1"-"22", "X" and "Y".
          Each named component is again a list  with two elements named
          "posS" and "negS", corresponding to the positive and negative
          strands of a chromosome, each of which isan object returned
          by 'lowess'.

     lib: as passed in.

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

     Robert Gentleman and Xiaochun Li

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

     'plotChr'

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

     require("hgu133a") ||
     stop("\nThis example requires the hgu133a package which is not installed.",
          "\nPlease install the package (perhaps using: ",
          "install.packages2(\"hgu133a\")) and try again")

     data(eset133a)

     esetobj <- Makesense(exprs(eset133a), "hgu133a")

     esetobj2 <- Makesense(eset133a, "hgu133a")

