getTransitionTable: Retrieve the transition table of a network
Description
Retrieves the transition table and additional attractor information of a network.
Usage
getTransitionTable(attractorInfo)
Arguments
attractorInfo
An object of class AttractorInfo, as returned by getAttractors. As the transition table information in this structure is required, getAttractors must be called in synchronous
Value
Returns a generic dataframe of the class TransitionTable. For n genes, the first n columns code for the original state (in this case, the state parameter), i.e. each column represents the value of one gene. The next n columns code for the successive state after a transition. The column attractorAssignment indicates the attractor to the state is assigned, and the column stepsToAttractor indicates how many transitions are needed from the original state to the attractor. The table has a row for each possible input state.
The TransitionTable class supports pretty printing using the print method.
Details
Depending on the configuration of the call to getAttractors that returned attractorInfo, this function either returns the complete transition table (for exhaustive synchronous search) or the part of the transition table calculated in a heuristic synchronous search. Asynchronous search is not supported, as no transition table is calculated.
library(BoolNet)
# load example datadata(cellcycle)
# get attractorsattractors <- getAttractors(cellcycle)
# print the transition tableprint(getTransitionTable(attractors))