extractSubNet-NWA-method: Extract the subnetwork as an igraph object

Description Usage Arguments Value Examples

Description

Extract the subnetwork form an analyzed NWA object as an igraph object for further external using. Users can also use it to modify the subnetwork.

Usage

1
2
## S4 method for signature 'NWA'
extractSubNet(object)

Arguments

object

An NWA object.

Value

This function would return a subnetwork as an 'igraph' object.

Examples

1
2
3
4
5
6
## load a NWA object(see the examples of analyze NWA for details)
data(d7_nwa)

## extract the subnetwork as an igraph object
library(igraph)
subnetwork <- extractSubNet(d7_nwa)

CityUHK-CompBio/HTSanalyzeR2 documentation built on Dec. 3, 2020, 2:35 a.m.