timeLinePlot-methods         package:flowViz         R Documentation

_P_l_o_t _c_h_a_n_n_e_l _v_a_l_u_e_s _a_g_a_i_n_s_t _t_i_m_e

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

     Plots values of one parameter for each flowFrame in a flowSet
     against time.

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

     Plotting flow cytometry data against the time domain can help to
     identify problems with the fluidics or drifts in the instrument
     setting during measurement runs.

     This function creates plots for all flowFrames in a flowSet for a
     given parameter against time. A barplot legend indicates the
     deviation from the median for each sample. There is also a
     flowFrame method, which will create a plot for a single flowFrame
     only.

     In addition, the function computes a quality score for each frame,
     which essentially is the sum of the positive distances of each bin
     mean from a frame-specific confidence interval, divided by the
     number of bins. Values larger than zero indicate a problem.

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

     A numeric vector of quality scores.

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

     General usage:

     'timeLinePlot(x, channel, type=c("stacked", "scaled", "native"),
     col, ylab=names(x), binSize, varCut=1, ...)'



     _x An object of class 'flowFrame' or 'flowSet' containing the data
          to be plotted.

     _c_h_a_n_n_e_l The parameter for which the data is to be plotted

     _t_y_p_e One in 'stacked', 'scaled' or 'native'. 'stacked' will plot
          the measurements for the frames on top of each other.
          'scaled' will align the median values around zero and
          'native' will plot the values in the original dimensions of
          the measurement range.

     _c_o_l Optional color parameter.

     _y_l_a_b The axis annotation to add on the y-axis for stacked plots.

     _b_i_n_S_i_z_e The number of events per bin. If not set, a reasonable
          default is computed.

     _v_a_r_C_u_t The cutoff in the adjusted variance to which the quality
          score is computed. Basically, all values that are outside of
          the confidence interval defined by '\[my - signma * varCut,
          my + sigma * varCut\]' will contribute to a positive quality
          score value.

     ... Further arguments that are passed on to the base plotting
          functions.




     _x = "_A_N_Y", _c_h_a_n_n_e_l = "_m_i_s_s_i_n_g" This casts a useful error message
          about missing inputs. 

     _x = "_f_l_o_w_F_r_a_m_e", _c_h_a_n_n_e_l = "_c_h_a_r_a_c_t_e_r" For a 'flowFrame' we only
          plot a single parameter against time. 

     _x = "_f_l_o_w_S_e_t", _c_h_a_n_n_e_l = "_c_h_a_r_a_c_t_e_r" For a 'flowSet', we plot the
          lines for a  single parameter against time for each
          'flowFrame' in the set. 


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

     F. Hahne

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

     'flowFrame', 'flowSet'

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

     data(GvHD)
     opar <- par(ask=TRUE)

     res <- timeLinePlot(GvHD[[1]], "SSC-H")
     res

     res <- timeLinePlot(GvHD, "SSC-H")

     res <- timeLinePlot(GvHD, "SSC-H", type="scaled", varCut=4)

     res <- timeLinePlot(GvHD[1:4], "SSC-H", type="native", binSize=50)

     par(opar)

