Description Usage Arguments Value References See Also Examples
Loads a Boolean expressions file from The Cell Collective repository.
1 | read.cellcollective(file,txt.output=NULL,language="C")
|
file |
The Cell Collective file to be read |
txt.output |
Optional argument to specify the name of an additional text file where the Boolean expressions from the repository will be saved but using the SPIDDOR nomenclature. |
language |
The name of the programming language ("R" or "C") where the simulation algorithm will be coded. Defaults is C++ language |
Returns a list with the most important information of the network.
https://www.thecellcollective.org/
See Also read.Boolean.functions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #Write the Lac operon network that can be downloaded from The Cell Collective:
sink("CellCollective_file.txt")
cat("allolactose = ( enviro_lactose )\n")
cat("lac_enzymes = ( lac_mRNA )\n")
cat("lac_operon = ( ( ( CAP ) AND NOT ( CAP_mutation ) ) AND NOT ( lac_repressor ) )\n")
cat("lac_repressor = NOT ( ( allolactose ) )\n")
cat("CAP = ( cAMP )\n")
cat("lactose_breakdown = ( ( lac_enzymes ) AND NOT ( lacZ_mutation ) )\n")
cat("cAMP = NOT ( ( enviro_glucose ) )\n")
cat("lac_mRNA = ( lac_operon )\n")
sink()
#Load the network saved in the file:
BN<-read.cellcollective(file="CellCollective_file.txt")
print(BN$nodes.names)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.