Commit 103c7f1e authored by Ahmed Hemedan's avatar Ahmed Hemedan 🎨
Browse files

Update IFN1_sensitivity_against_mutations.R

parent 4f599724
......@@ -15,6 +15,10 @@ initJVM("32G") #This function initializes the JVM with a parameter of the maximu
setOpencl("gpu") #Enables OpenCL computation ON GBU device.
showOpencl() #Get OpenCL information and prints them to the console screen
###Retouch the SIF file to be compatible with the functions
IFN1 <- read.table("model.sif", header = F) #read the file as a table
IFN1 <-transform(IFN1, V2 = factor(V2, labels = c(1,-1)))#transform reaction types to the related integer
write.table(IFN1,"IFN1.sif", sep = " ", row.names = FALSE, col.names = FALSE, quote = FALSE)# export the retouched model
### load network in sif format
IFN1 <- loadNetwork("IFN1.sif")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment