FBNNetwork.Graph.DrawAttractor: A method to draw attractors in the form of dynamic Network

View source: R/graph_FBN.R

FBNNetwork.Graph.DrawAttractorR Documentation

A method to draw attractors in the form of dynamic Network

Description

A method to draw attractors in the form of dynamic Network

Usage

FBNNetwork.Graph.DrawAttractor(fbnNetwork, FBMAttractors, index = 1)

Arguments

fbnNetwork

An object of FBNNetwork

FBMAttractors

A list of attractors extracted via searchForAttractors.

index

The index of an attractor in the list FBMAttractors.

Examples

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)

clsdavid/FBNNet2_public documentation built on April 20, 2023, 4:36 p.m.