Description Usage Arguments Details Author(s) References See Also Examples
The function display inferred posterior association networks or enriched
functional gene modules in igraph or a powerful graphical visualization
software RedeR
.
1 2 |
object |
an object of S4 class |
what |
a character value specifying which to show: 'graph' or 'pvclustModule'. |
moduleID |
a numeric or integer vector of modules to view (see details in |
layout |
a character value specifying the layout method (see details in |
verbose |
a logical value to switch on (if |
... |
not in use, but only for further extension. |
This function presents the inferred posterior association network or enriched
functional modules in igraph or RedeR
depending on the graphics
engine used when building the graph for PAN (details in buildPAN
).
Please note that when viewing a dense PAN in ‘igraph’, it could be very messy. Multiple modules can be viewed at the same time in ‘RedeR’ powered by its feature of ‘containers’, which are used to group gene modules. When view multiple modules in ‘igraph’,
Xin Wang xw264@cam.ac.uk
Xin Wang, Mauro Castro, Klaas W. Mulder and Florian Markowetz, Posterior association networks and enriched functional gene modules inferred from rich phenotypic perturbation screens, in preparation.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
data(bm, package="PANR")
pan<-new("PAN", bm1=bm1)
pan<-infer(pan, para=list(type="SNR", log=TRUE, sign=TRUE, cutoff=log(5)),
filter=FALSE, verbose=TRUE)
data(Bakal2007Cluster, package="PANR")
pan<-buildPAN(pan, engine="igraph", para=list(nodeColor=nodeColor,
hideNeg=TRUE), verbose=TRUE)
##view inferred PAN
viewPAN(pan, what='graph', layout="layout.fruchterman.reingold")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.