read.cellcollective: Load a Boolean network from The Cell Collective repository

Description Usage Arguments Value References See Also Examples

Description

Loads a Boolean expressions file from The Cell Collective repository.

Usage

1

Arguments

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

Value

Returns a list with the most important information of the network.

References

https://www.thecellcollective.org/

See Also

See Also read.Boolean.functions

Examples

 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)

SPIDDOR/SPIDDOR documentation built on May 9, 2019, 11:42 a.m.