get_local_network {ProgModule} | R Documentation |
Extract the local networks from the PPI network.
Description
The function 'get_local_network' is used to search local network of each gene by breadth-first algorithm.
Usage
get_local_network(network, freq_matrix, max.size = 500)
Arguments
network |
The PPI network. |
freq_matrix |
The mutations matrix,generated by 'get_mut_status'. |
max.size |
The size of maximum connected local network,default is 500. |
Value
local nerwork.
Examples
#load the data
data(mut_status)
data(subnet)
#perform the function `get_local_network`.
localnetwork.example<-get_local_network(network=subnet,freq_matrix=mut_status,max.size=500)
[Package ProgModule version 0.1.0 Index]