markovSimulation(network,
numIterations = 1000,
startStates = list(),
cutoff = 0.001,
returnTable = TRUE)ProbabilisticBooleanNetwork or BooleanNetwork whose transitions are simulatedplotPBNTransitions and MarkovSimulation with the following components:numIterations transitions. Only states with a probability greater than cutoff are included in this table.returnTable=TRUE, this structure holds a table of transitions with the corresponding probabilities that transitions are chosen. This is a list with the following components:
[object Object],[object Object],[object Object]reconstructNetwork, plotPBNTransitions, getTransitionProbabilitieslibrary(BoolNet)
# load example network
data(examplePBN)
# perform a Markov chain simulation
sim <- markovSimulation(examplePBN)
# print the relevant states and transition probabilities
print(sim)
# plot the transitions and their probabilities
plotPBNTransitions(sim)Run the code above in your browser using DataLab