Learn R Programming

ProgModule (version 0.1.0)

get_local_network: 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)

Value

local nerwork.

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.

Examples

Run this code
#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)

Run the code above in your browser using DataLab