View source: R/in_silico_system.R
removeEdge | R Documentation |
Removes an edge in the in silico system between specified genes.
removeEdge(insilicosystem, regID, tarID)
insilicosystem |
The in silico system (see |
regID |
Integer or character. The ID of the regulator gene or the name of the regulatory complex. |
tarID |
Integer or character. The ID of the target gene. |
The modified in silico system.
## Not run: mysystem = createInSilicoSystem(G = 10) mysystem$edg ## we'll remove the first edge regToRemove = mysystem$edg$from[1] tarToRemove = mysystem$edg$to[1] mysystem2 = removeEdge(mysystem, regToRemove, tarToRemove) mysystem2$edg ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.