View source: R/loadBioTapestry.R
loadBioTapestry | R Documentation |
Imports a Boolean network from a BioTapestry file (*.btp). BioTapestry is an interactive tool for building, visualizing, and simulating gene-regulatory networks, and can be accessed at https://biotapestry.systemsbiology.net.
loadBioTapestry(file,
symbolic = FALSE)
file |
The name of the file to import. This must be a BioTapestry XML file (*.btp). |
symbolic |
If set to |
The function builds up a Boolean network by importing the nodes, the links between these nodes, and the simulation parameters of the top-level plot of a BioTapestry file. The BioTapestry network should have the following properties:
All links should be either enhancers or repressors. Unspecified ("neutral") links are ignored.
In the simulation parameters, each node should specify the correct logical function (AND, OR, XOR) for its inputs.
Constant genes can be generated by modeling a gene without any input link and setting the simulation parameter initVal
to 0 or 1.
A network of class BooleanNetwork
or SymbolicBooleanNetwork
, as described in loadNetwork
.
W. J. R. Longabaugh, E. H. Davidson, H. Bolour (2005), Computational representation of developmental genetic regulatory networks. Developmental Biology 283(1):1–16.
loadNetwork
, loadSBML
# import the example BioTapestry file
# included in the package vignette
exampleFile <- system.file("doc/example.btp",
package="BoolNet")
net <- loadBioTapestry(exampleFile)
# print the imported network
print(net)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.