removeEdge: Removes an edge from the in silico system.

Description Usage Arguments Value Examples

View source: R/in_silico_system.R

Description

Removes an edge in the in silico system between specified genes.

Usage

1
removeEdge(insilicosystem, regID, tarID)

Arguments

insilicosystem

The in silico system (see createInSilicoSystem).

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.

Value

The modified in silico system.

Examples

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

sismonr documentation built on Feb. 11, 2020, 9:07 a.m.