Description Usage Arguments Value Author(s) Examples
Powered by function write.graph
in package igraph
, this function writes the
inferred PAN or module graphs to files in a variety of formats that are supported
by igraph.
1 2 |
object |
an object of S4 class |
file |
the name of the file to write the graph or module (no need to put a filename extension). |
what |
a character value specifying what to write: ‘graph’ or ‘pvclustModule’. |
moduleID |
a numeric or integer vector of modules to write (see details in |
format |
a character value specifying the format to write (see more details in |
verbose |
a logical value to switch on (if |
... |
not in use, but only for further extension. |
a numeric vector of ids for significant gene modules
Xin Wang xw264@cam.ac.uk
1 2 3 4 5 6 7 8 9 10 11 | ## 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)
exportPAN(pan, file="pan", what="graph", format="ncol")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.