writeSIF: Convert a model into a SIF format and save the result in a...

Description Usage Arguments Author(s) Examples

Description

This function takes as input a model (as created by e.g., read from a SIF data set with readSIF function) and save it into a file.

Usage

1
writeSIF(model, filename,  overwrite = FALSE)

Arguments

model

the model

filename

the filename

overwrite

by default, do not overwrite a file.

Author(s)

T Cokelaer

Examples

1
2
3
4
5
6
tmpdir<-tempdir()
setwd(tmpdir)
cpfile<-dir(system.file("ToyModel",package="CellNOptR"),full=TRUE)
file.copy(from=cpfile,to=getwd(),overwrite=TRUE)
ToyModel<-readSIF(sifFile="ToyPKNMMB.sif")
writeSIF(ToyModel, "ToyPKNMMB_copy.sif")

cokelaer/CellNOptR documentation built on May 27, 2019, 8:44 a.m.