graph2sif {CellNOptR} | R Documentation |
This function converts a network form graph format to SIF format. The resulting table can also be saved in a SIF file.
graph2sif(graph, writeSif=FALSE, filename="Graph")
graph |
a graph, as generated using sif2graph |
writeSif |
if writeSif=FALSE (default) the SIF file is not saved. If writeSif=TRUE it is saved. |
filename |
the name of the SIF file saved if writeSif=TRUE. Default is Model.sif. |
The sign of link is supposed to be encoded in the graph as the weigth of the edge (-1 negative regulation, +1 positive regulation).
sifFile |
a table with all the links in the model in the format sourceNode-tab-sign-tab-targetNode |
F. Eduati
model2sif, sif2graph, readSIF,