plotNorm2               package:prada               R Documentation

_P_l_o_t _f_i_t_t_e_d _b_i_v_a_r_i_a_t_e _n_o_r_m_a_l _d_i_s_t_r_i_b_u_t_i_o_n.

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

     Plots objects derived from function 'fitNorm2' in false color
     represenation.

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

     plotNorm2(fn, colrange=c("gray82", "blue"), center=TRUE, selection=FALSE,
                           ellipse=FALSE, pch=20, cex=1, col="dens", ...)

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

      fn: List. Object derived from  function 'fitNorm2'

colrange: Character vector with valid color identifiers (eg name or RGB
          values) from which a smooth color palette is derived.

  center: Logical. Assign center of distribution.

selection: Logical. Mark all points beyond selection.

 ellipse: Logical. Plot area and borders of selection as ellipse.

     pch: see 'par'

     cex: see 'par'

     col: see 'par' or special cases 'dens' for coloring according to
          density and 'prob' for coloring according to probability.

     ...: further arguments that are passed on to 'plot'.

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

     Produces a scatterplot of paired data showing the densities of the
     fitted bivariate distribution from function 'fitNorm' in false
     color representation. Additionally a selection of data points can
     be highlighted either by marking outliers or by showing its area.

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

     A list containing items 'p, cov, mu, S' (density values for each
     data pair, resulting object from call to cov.rob, midpoint of
     distribution, covariance matrix).

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

     Florian Hahne

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

     'fitNorm2', 'addEllipse'

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

      sampdat <- readFCS(system.file("extdata",
        "fas-Bcl2-plate323-04-04.A01", package="prada"))
      nfit   <- fitNorm2(exprs(sampdat[,1:2]), scalefac=2)
      plotNorm2(nfit, selection=TRUE, ellipse=TRUE)

