getNeighborsForModule: Get Neighbors for Module

Description Usage Arguments Value Examples

View source: R/getNeighborsForModule.R

Description

Get Neighbors for Module

Usage

1
getNeighborsForModule(graph, module)

Arguments

graph

an igraph object

module

a vector containing nodes corresponding to the graph

Value

a vector containing all neighbors of the module

Examples

1
2
3
4
5
6
data(qmdiab.data)
data(qmdiab.annos)

net.graph <- generateNetwork(data = qmdiab.data, annotations = qmdiab.annos)
module <- c(3, 4)
neighbors <- getNeighborsForModule(graph = net.graph, module = module)

krumsiek/MoDentify documentation built on March 25, 2021, 8:32 a.m.