surrNODES: surrNODES finds nodes which are surrounding the given node

Description Usage Arguments Value

Description

surrNODES finds nodes which are surrounding the given node

Usage

1
surrNODES(noi, graph, all = TRUE)

Arguments

noi

node of interest; the compound/ko ID not the vertex ID of the node in the graph

graph

igraph object

all

conditional to return all nodes regardless of direction

Value

vector of surrounding nodes if all is TRUE, if all is FALSE returns list of in and out nodes


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