plotECDF.FCS            package:rflowcyt            R Documentation

_C_r_e_a_t_e _a _e_m_p_i_r_i_c_a_l _c_u_m_u_l_a_t_i_v_e _d_i_s_t_r_i_b_u_t_i_o_n _p_l_o_t _f_o_r _o_n_e (_o_r _m_o_r_e) _p_a_r_a_m_e_t_e_r(_s)
_o_f _o_n_e (_o_r _m_o_r_e) _F_C_S _o_b_j_e_c_t(_s)

_D_e_s_c_r_i_p_t_i_o_n:

     Create a empirical cumulative distribution plot for one parameter
     of one (or more) FCS object(s).

_U_s_a_g_e:

     plotECDF.FCS(data, varpos, var.list, group.list, xlab, ylab,...)                      

_A_r_g_u_m_e_n_t_s:

    data: a list of fluorescent data from one (or more) FCS object(s)

  varpos: the numerical column variable position of the data of the FCS
          object

var.list: conditioning variables

group.list: a variable or expression to be evaluated in the data frame
          specified by 'data', expected to act as a grouping variable
          within each panel, typically used to distinguish different
          groups by varying graphical parameters like color and line
          type

    xlab: a title for the x axis

    ylab: a title for the y axis

     ...: any other arguments are passed to the 'xyplot' function

_D_e_t_a_i_l_s:

     Other options from the functions 'xyplot' from the'lattice'
     library.

_V_a_l_u_e:

     None.

_A_u_t_h_o_r(_s):

     N. Le Meur

_S_e_e _A_l_s_o:

     'ecdf','lattice', 'xyplot'

_E_x_a_m_p_l_e_s:

      require(rfcdmin)
      require(lattice)

      ##Example I:
      data(flowcyt.data)

      ##Draw an empirical cumulative density plot for the Foward scatter
      ##parameter of the different stains at a particular different time point
      ##(one panel per time point).
      plotECDF.FCS(flowcyt.data,varpos=c(1),var.list=c(paste("time",1:12,sep="")),group.list=paste("Stain",c(1:8),sep=""),main="ECDF plot of the forwad scatter parameter for different stains at a particular time point",lwd=2,cex=1.5)

      ##Example II:
      if (require(rfcdmin)) {
       ##Obtain the location of the fcs files 
       pathFiles<-system.file("bccrc", package="rfcdmin")
       drugFiles<-dir(pathFiles)

       ## Read a serie of FCS files
       drugData<-read.series.FCS(drugFiles,path=pathFiles,MY.DEBUG=FALSE)

       }

       ##Draw a empirical cumulative density plot for the Foward scatter
      ##parameter for the differents aliquots (of the same cell line)
      ##treated with different compounds. 
      plotECDF.FCS(drugData,varpos=c(1),var.list=c("Serie"),group.list=paste("compound",c(1:8),sep=""),main="ECDF plot for the different aliquots treated with diffrent compounds.",lwd=2,cex=1.5)
      

