View source: R/modelling_FBN.R
reconstructTimeseries | R Documentation |
This method is used to reconstruct time series data
reconstructTimeseries(
fbnnetwork,
initialStates,
type = c("synchronous", "asynchronous"),
maxTimepoints = 100,
useParallel = FALSE
)
fbnnetwork |
An object of FBN network |
initialStates |
A list of initial states |
type |
Specify the type of the Fundamental Boolean model (synchronous or asynchronous) |
maxTimepoints |
The max time points that are going to be constructed |
useParallel |
Optional, if TRUE then use parallelisation |
A list object that contains reconstructed time series and FBN network
require(BoolNet)
data('ExampleNetwork')
initialStates <- generateAllCombinationBinary(ExampleNetwork$genes)
trainingseries <- genereateBoolNetTimeseries(ExampleNetwork,
initialStates,
43,
type='synchronous')
cube <- constructFBNCube(target_genes = ExampleNetwork$genes,
conditional_genes = ExampleNetwork$genes,
timeseriesCube = trainingseries,
maxK = 4,
temporal = 1,
useParallel = FALSE)
network <- mineFBNNetwork(cube)
result <- reconstructTimeseries(fbnnetwork = network,
initialStates = initialStates,
type = 'synchronous',
maxTimepoints = 43)
result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.