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

View source: R/writeSIF.R

writeSIFR Documentation

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

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

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

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")

saezlab/CellNOptR documentation built on April 16, 2024, 5:21 a.m.