shared.neighbour: Extract shared neihbour genes

Description Usage Arguments Value

View source: R/shared.neighbour.R

Description

The function is used to extract the shared neighbour genes that both connect to a pair of candidate nodes.

Usage

1
shared.neighbour(node1, node2, edgelist, verbose = T)

Arguments

node1

a character string of the name of candidate node 1.

node2

a character string of the name of candidate node 2.

edgelist

the edge list of a network from which the neighbour genes are extracted for node1 and node2.

Value

shared.neighbour returns a sub edgelist.


wyguo/RLowPC documentation built on May 28, 2017, 7:34 a.m.