Learn R Programming

BoolNet (version 1.44)

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.

See Also

getAttractors, getTransitionTable, getBasinOfAttraction

Examples

Run this code
library(BoolNet)

# load example network
data(cellcycle)

# get path from a state to its attractor
path <- getPathToAttractor(cellcycle, rep(0,10))
print(path)

Run the code above in your browser using DataLab