Get a matrix of transitions and their probabilities in probabilistic Boolean networks
Get a matrix of transitions and their probabilities in probabilistic Boolean networks
Retrieves the state transitions and their probabilities in a probabilistic Boolean network. This takes the transition table information calculated by the markovSimulation method.
getTransitionProbabilities(markovSimulation)
Arguments
markovSimulation: An object of class MarkovSimulation, as returned by markovSimulation. As the transition table information in this structure is required, markovSimulation must be called with returnTable set to TRUE.
Returns
Returns a data frame with the first n columns describing the values of the genes before the transition, the next n columns describing the values of the genes after the transition, and the last column containing the probability of the transition. Here, n is the number of genes in the underlying network. Only transitions with non-zero probability are included.
See Also
markovSimulation
Examples
## Not run:# load example networkdata(examplePBN)# perform a Markov chain simulationsim <- markovSimulation(examplePBN)# print out the probability tableprint(getTransitionProbabilities(sim))## End(Not run)