removeEdge: Removes an edge from the in silico system.

View source: R/in_silico_system.R

removeEdgeR Documentation

Removes an edge from the in silico system.

Description

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

Usage

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

## 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)

oliviaAB/sismonr documentation built on June 25, 2022, 11:59 p.m.