getPathToAttractor: Get state transitions between a state and its attractor
Description
Lists the states in the path from a specified state to the corresponding synchronous attractor.
Usage
getPathToAttractor(network, state)
Arguments
network
Either a structure of class BooleanNetwork, or a structure of class AttractorInfo. In the former case, a synchronous attractor search starting from state is conducted. In the latter case, network must be
state
A binary vector with exactly one entry per gene in the network.
Value
Returns a data frame with the genes in the columns. The rows are the successive states from state to the first state of the corresponding attractor.
library(BoolNet)
# load example networkdata(cellcycle)
# get path from a state to its attractorpath <- getPathToAttractor(cellcycle, rep(0,10))
print(path)