adjacentPairs: Given a igraph object, adjacentPairs finds adjacent pairs of...

Description Usage Arguments Examples

Description

Given a igraph object, adjacentPairs finds adjacent pairs of KOs

Usage

1
adjacentPairs(g, ko2ko = FALSE, ...)

Arguments

g

graph object

ko2ko

if true returns data.frame of ko pairs, if false returns the compound which its connected with

...

ellipise pass in other arguments which are required

Examples

1
2
3
4
5
6
7
8
9
# gives ko 2 ko pairs
adjacentPairs(nitrogenMetab, ko2ko=TRUE)
#        ko1       ko2 direction
#1 ko:K18246 ko:K01725       out
#2 ko:K18245 ko:K01725       out
#3 ko:K17877 ko:K17877       out
#4 ko:K17877 ko:K15876       out
#5 ko:K17877 ko:K15371       out
#6 ko:K17877 ko:K10946       out

MetamapsDB documentation built on May 1, 2019, 9:23 p.m.