expression_arraywide      package:biocDatasets      R Documentation

_G_e_n_e_r_a_t_e _e_x_p_r_e_s_s_i_o_n _f_o_r _a _w_h_o_l_e _a_r_r_a_y

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

     Generate expression values for a whole array

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

     expression_arraywide(n,
                          noise_mean = 50, noise_sd = 5,
                          signal_mean = 500, signal_sd = 0.9,
                          highbump_percent = 5,
                          highbump_mean = 6000, highbump_sd = 500)

     replicate_arraywide(x)

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

       n: Number of probes 

       x: A vector of expression values 

noise_mean: Mean for the noise 

noise_sd: Standard deviation for the noise

signal_mean: Mean for the signal 

signal_sd: Standard deviation for the signal 

highbump_percent: Percentage of probes from the `high bump' 

highbump_mean: Mean 

highbump_sd: Standad deviation 

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

     XXX

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

     A vector of numerical values (and of length 'n', or 'length(x)'))

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

     y <- expression_arraywide(1000)
     y2 <- replicate_arraywide(y)

     library(lattice)

     densityplot(~ c(y, y2), groups = rep(c(1,2), rep(length(y), 2)))

