Description Usage Arguments Examples
View source: R/exportNetwork.R
Save graph into HTML, json or xgmml format.
1 | exportNetwork(network, file, format = c("HTML", "json", "XGMML"), ...)
|
network |
output of browseNetwork |
file |
Name of the file to save to. |
format |
type in which graph shall be saved. Could be one of HTML, json or XGMML. |
... |
Parameter could be used by saveWidget for HTML or writeLines for json or saveXML for XGMML. |
1 2 3 4 5 6 7 8 9 10 11 12 | data("ce.miRNA.map")
data("example.data")
data("ce.interactionmap")
data("ce.IDsMap")
sifNetwork<-buildNetwork(example.data$ce.bind, ce.interactionmap, level=2)
cifNetwork<-filterNetwork(rootgene=ce.IDsMap["DAF-16"], sifNetwork=sifNetwork,
exprsData=uniqueExprsData(example.data$ce.exprData, "Max", condenseName='logFC'),
mergeBy="symbols",
miRNAlist=as.character(ce.miRNA.map[ , 1]), tolerance=1)
gR<-polishNetwork(cifNetwork)
network <- browseNetwork(gR)
exportNetwork(network, "sample.html")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.