Description Usage Arguments Value Examples
obtain graphNEL from ontology_plot instance of ontologyPlot
1 |
x |
instance of S3 class ontology_plot |
instance of S4 graphNEL class
1 2 3 4 5 6 7 8 9 10 11 | requireNamespace("Rgraphviz")
requireNamespace("graph")
cl = getCellOnto()
cl3k = c("CL:0000492", "CL:0001054", "CL:0000236", "CL:0000625",
"CL:0000576", "CL:0000623", "CL:0000451", "CL:0000556")
p3k = ontologyPlot::onto_plot(cl, cl3k)
gnel = make_graphNEL_from_ontology_plot(p3k)
gnel = improveNodes(gnel, cl)
graph::graph.par(list(nodes=list(shape="plaintext", cex=.8)))
gnel = Rgraphviz::layoutGraph(gnel)
Rgraphviz::renderGraph(gnel)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.