get_neighbors: function to get graph neighbors (along with their expression...

View source: R/utils.R

get_neighborsR Documentation

function to get graph neighbors (along with their expression values) for a given gene in a given network g

Description

just a wrapper around igraph::neighbors() for convenience

Usage

get_neighbors(gene, g)

Arguments

gene

gene to grab neighbors from.

g

igraph object - will be filtered so that only nodes found in both exp and g are kept

Value

named numeric vector.


DavisWeaver/crosstalkr documentation built on May 6, 2024, 6:09 p.m.