Description Usage Arguments Value Examples
View source: R/in_silico_system.R
Removes an edge in the in silico system between specified genes.
1 | 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.
1 2 3 4 5 6 7 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.