View source: R/browseNetwork.R
browseNetwork | R Documentation |
plot network generated by polishNetwork
browseNetwork(
gR = graphNEL(),
layoutType = c("fdp", "dot", "neato", "twopi", "circo"),
width = NULL,
height = NULL,
maxNodes = 500,
...
)
gR |
an object of graphNEL |
layoutType |
layout type. see GraphvizLayouts |
width |
width of the figure |
height |
height of the figure |
maxNodes |
max nodes number to plot. Because if there are two many nodes, the running time will be too long. |
... |
parameters used by GraphvizLayouts |
An object of class htmlwidget that will intelligently print itself into HTML in a variety of contexts including the R console, within R Markdown documents, and within Shiny output bindings.
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)
browseNetwork(gR)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.