get_local_network: Extract the local networks from the PPI network.

View source: R/main.R

get_local_networkR 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)

ProgModule documentation built on May 29, 2024, 9:16 a.m.