gene_expr_simulation,omics_network-method | R Documentation |
Simulates omicsarray data based on a given network.
## S4 method for signature 'omics_network' gene_expr_simulation( omics_network, time_label = 1:4, subject = 5, peak_level = 100, act_time_group = 1:4 )
omics_network |
A omics_network object. |
time_label |
a vector containing the time labels. |
subject |
the number of subjects |
peak_level |
the mean level of peaks. |
act_time_group |
[NULL] vector ; at which time the groups (defined by sort(unique(group))) are activated ? |
A omics_array object.
Bertrand Frederic, Myriam Maumy-Bertrand.
data(Net) set.seed(1) #We simulate gene expressions according to the network Net Msim<-Patterns::gene_expr_simulation( omics_network=Net, time_label=rep(1:4,each=25), subject=5, peak_level=200) head(Msim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.