get_neighbors {crosstalkr} | R 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.
[Package crosstalkr version 1.0.5 Index]