Title: | Computation of TES-Based Cell Differentiation Trees |
---|---|
Description: | Computes the ATM (Attractor Transition Matrix) structure and the tree-like structure describing the cell differentiation process (based on the Threshold Ergodic Set concept introduced by Serra and Villani), starting from the Boolean networks with synchronous updating scheme of the 'BoolNet' R package. TESs (Threshold Ergodic Sets) are the mathematical abstractions that represent the different cell types arising during ontogenesis. TESs and the powerful model of biological differentiation based on Boolean networks to which it belongs have been firstly described in "A Dynamical Model of Genetic Networks for Cell Differentiation" Villani M, Barbieri A, Serra R (2011) A Dynamical Model of Genetic Networks for Cell Differentiation. PLOS ONE 6(3): e17703. |
Authors: | Michele Braccini <[email protected]> |
Maintainer: | Michele Braccini <[email protected]> |
License: | GPL-3 |
Version: | 0.3.2 |
Built: | 2024-10-31 06:55:26 UTC |
Source: | CRAN |
getATM
returns the ATM (Attractor Transition Matrix) structure.
The ATM computes the probability of a transition between the attractors of the Boolean network upon the introduction of noise in the form of a logic negation to each node of each state of each attractor, checking in which attractor the dynamics relaxes.
The diagonal of the ATM accounts for attractor robustness, as diagonal values represent the probability of returning to the same attractor after a perturbation.
getATM(net, synchronous_attractors, MAX_STEPS_TO_FIND_ATTRACTORS = 1000)
getATM(net, synchronous_attractors, MAX_STEPS_TO_FIND_ATTRACTORS = 1000)
net |
The Boolean network previously loaded with loadNetwork() of BoolNet package |
synchronous_attractors |
Synchronous attractors of the Boolean network |
MAX_STEPS_TO_FIND_ATTRACTORS |
Number of steps after that the dynamics after the perturbation gives up |
The output will be a named list containing the computed ATM structure, the number of the lost flips (i.e., the number of perturbations that have not reach another attractor within the provided MAX_STEPS_TO_FIND_ATTRACTORS), and lastly the attractors in two formats: the one returned by the BoolNet package (called decimal) and their binary translation (called binary).
net <- BoolNet::generateRandomNKNetwork(10, 2) attractors <- BoolNet::getAttractors(net) getATM(net, attractors)
net <- BoolNet::generateRandomNKNetwork(10, 2) attractors <- BoolNet::getAttractors(net) getATM(net, attractors)
Creates a structure for constructing the TES as described in "A Dynamical Model of Genetic Networks for Cell Differentiation Villani M, Barbieri A, Serra R (2011) A Dynamical Model of Genetic Networks for Cell Differentiation. PLOS ONE 6(3): e17703. https://doi.org/10.1371/journal.pone.0017703"
getTESs(ATM)
getTESs(ATM)
ATM |
ATM structure as returned from the |
The output will be a named list that contains the list of computed TESs, the noise thresholds at which they emerged and lastly the ATM structure.
net <- BoolNet::generateRandomNKNetwork(10, 2) attractors <- BoolNet::getAttractors(net) ATM <- getATM(net, attractors) getTESs(ATM)
net <- BoolNet::generateRandomNKNetwork(10, 2) attractors <- BoolNet::getAttractors(net) ATM <- getATM(net, attractors) getTESs(ATM)
saveDifferentiationTreeToFile
saves the image of the computed differentiation tree into a file.
saveDifferentiationTreeToFile(TESs, filename)
saveDifferentiationTreeToFile(TESs, filename)
TESs |
TES structure computed with |
filename |
Defines the filename for exporting the image of the differentiation tree. The only file extension accepted is "svg", filenames omitting the extensions and those with other extensions will be forced to SVG format. |
None
net <- BoolNet::generateRandomNKNetwork(10, 2) attractors <- BoolNet::getAttractors(net) ATM <- getATM(net, attractors) TESs <- getTESs(ATM) saveDifferentiationTreeToFile(TESs, tempfile(tmpdir = tempdir(), fileext = ".svg"))
net <- BoolNet::generateRandomNKNetwork(10, 2) attractors <- BoolNet::getAttractors(net) ATM <- getATM(net, attractors) TESs <- getTESs(ATM) saveDifferentiationTreeToFile(TESs, tempfile(tmpdir = tempdir(), fileext = ".svg"))