FBNNetwork.Graph.DrawAttractor | R Documentation |
A method to draw attractors in the form of dynamic Network
FBNNetwork.Graph.DrawAttractor(fbnNetwork, FBMAttractors, index = 1)
fbnNetwork |
An object of FBNNetwork |
FBMAttractors |
A list of attractors extracted via
|
index |
The index of an attractor in the list
|
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)
NETWORK2<-mineFBNNetwork(cube,ExampleNetwork$genes)
attractor<-searchForAttractors(NETWORK2,
initialStates,
ExampleNetwork$genes)
print(attractor)
FBNNetwork.Graph.DrawAttractor(NETWORK2,attractor,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.