pc               package:BeadExplorer               R Documentation

_P_r_i_n_c_i_p_a_l _c_o_m_p_o_n_e_n_t _p_l_o_t

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

     Produces a sample PCA plot

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

     pc(data, xpca = 1, ypca = 2, col = NULL, verbose = FALSE, labels=colnames(data), pos = 2, offset = 0.5, cex.text=0.8,...)

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

    data: A matrix of expression values 

    xpca: Principal component to plot on x-axis 

    ypca: Principal component to plot on y-axis 

     col: A vector of colours used to represent each sample - default
          is rainbow colours 

 verbose: Logcial specifying if commentray should be outputted 

  labels: A vector of character labels to use for labeling.  Default is
          sample names 

     pos: Position relative to plot point to label samples, see 'text' 

  offset: Distance from plot point to place for labels, see 'text'

cex.text: Text size relative to default

     ...: Arguments passed to 'plot'

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

     Provides a sample PCA plot of data.  Should only be required for
     customised analysis - defaults are used in 'plotSamples'

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

     Nothing

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

     Gareth Elvidge gareth.elvidge@well.ox.ac.uk

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

     'plotSamples'

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

     data(examplebeadData)
     pc(exprs(examplebeadData))

