Learn R Programming

Patterns (version 1.2)

gene_expr_simulation: Simulates microarray data based on a given network.

Description

Simulates microarray data based on a given network.

Usage

gene_expr_simulation(network,...)

Arguments

network

A 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 ?

Value

A micro_array object.

Examples

Run this code
# NOT RUN {
data(Net)
set.seed(1)

#We simulate gene expressions according to the network Net
Msim<-Patterns::gene_expr_simulation(
	network=Net,
	time_label=rep(1:4,each=25),
	subject=5,
	peak_level=200)
head(Msim)
# }

Run the code above in your browser using DataLab