Description Usage Arguments Value Author(s) Examples

reduces the size of a graph if possible to an equivalent sub-graph

1 | ```
reduceGraph(bString, model, CNOlist)
``` |

`bString` |
binary vector indicating the sub-graph given a model |

`model` |
model object for the whole graph space |

`CNOlist` |
CNOlist object |

equivalent sub-graph denoted by a bString

Martin Pirkl

1 2 3 4 5 6 7 8 9 10 11 | ```
sifMatrix <- rbind(c("A", 1, "B"), c("A", 1, "C"), c("B", 1, "D"),
c("C", 1, "D"))
write.table(sifMatrix, file = "temp.sif", sep = "\t", row.names = FALSE,
col.names = FALSE,
quote = FALSE)
PKN <- CellNOptR::readSIF("temp.sif")
unlink('temp.sif')
CNOlist <- dummyCNOlist("A", c("B","C","D"), maxStim = 1, maxInhibit = 2,
signal = c("A", "B","C","D"))
model <- CellNOptR::preprocessing(CNOlist, PKN, maxInputsPerGate = 100)
bString <- reduceGraph(rep(1, length(model$reacID)), model, CNOlist)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.