viewSubNet: Plot a figure of the enriched subnetwork

Description Usage Arguments Details Author(s) See Also Examples

Description

This is an generic function.

When implemented as the S4 method of class NWA, this function invokes the function networkPlot to plot the subnetwork identified by the 'BioNet' package.

Usage

1
viewSubNet(object)

Arguments

object

an object. When implemented as S4 methods of class NWA, this argument is an object of class 'GSCA'.

Details

After the analyses step for an object of class NWA, the user can generate the enriched subnetwork identified by the package 'BioNet'. If the slot 'phenotype' was inputted during the initialization of the object, this function will send it to the function networkPlot as the argument 'phenotypeVector' to highlight nodes in different colors. If the argument 'species' of the function analyze has been assigned, the labels of the nodes of this subnetwork will be mapped to gene symbols corresponding to the species; otherwise, the Entrez identifiers will be used as the labels.

Author(s)

Xin Wang xw264@cam.ac.uk

See Also

networkPlot, analyze, plotSubNet

Examples

1
2
3
4
5
6
7
## Not run: 
##load sample data
data("KcViab_NWA")
##plot to screen the identified subnetwork
viewSubNet(KcViab_NWA)

## End(Not run)

HTSanalyzeR documentation built on Oct. 31, 2019, 7:10 a.m.