Description Usage Arguments Value Examples
Build the binary time series dataset matrix that used for network inference
1 | buildTimeSeries(network, numSeries, numPoints, noiseLevel, wildtype)
|
network |
A network structure generated by generateRandomNKNetwork() in BoolNet |
numSeries |
The number of time series |
numPoints |
The number of time points that is covered by each time series |
noiseLevel |
The level of the nosie. e.g. 0.05 indiciates the value of a gene can be flipped with probability $5%$ |
wildtype |
A vector containing the wildtype expression values. This vector is the initial state. |
A list of data matrices containg the expression values of each gene. The row/column corresponds to time point/gene respectively. The second element refers to the input data. The third element refers to the respond data of the target gene.
1 2 3 4 5 6 | ngenes<-10
## k is the maximum number of genes
k<-5
## call generateRandomNKNetwork to generate a Boolean network
net1<-generateRandomNKNetwork(ngenes, k, topology="scale_free",simplify=TRUE,readableFunctions=TRUE)
datalist<-buildTimeSeries(network=net1,numSeries=10,numPoints=10,noiseLevel=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.