getSubnetwork: Network Graph

Description Usage Arguments Value Examples

Description

This function generates network graph from receptor to TF by using shortest path with neighboring network nodes.

Usage

1
getSubnetwork(network, receptors, TFs)

Arguments

network

a dataframe of two columns "from" and "to" with strings representing gene IDs

receptors

receptors in the network node

TFs

transcription factors in the network node

Value

list of two components: network subgraph from receptor i.e. start node to TF i.e. end node

Examples

1
2
# g <- graph_from_data_frame(network, directed = F, vertices = NULL)
#{ ... }

Amy3100/receptor2tfDiffusion documentation built on Dec. 17, 2021, 8:47 a.m.