plot.owlents | R Documentation |
visualize ontology selection via onto_plot2, based on owlents
plot.owlents(x, y, ..., dropThing = TRUE)
x |
owlents instance |
y |
character() vector of entries in x$clnames |
... |
passed to onto_plot2 |
dropThing |
logical(1) defaults to TRUE; if "Thing" is present in terms to display, it is removed |
cl3k = c("CL:0000492", "CL:0001054", "CL:0000236",
"CL:0000625", "CL:0000576",
"CL:0000623", "CL:0000451", "CL:0000556")
cl3k = gsub(":", "_", cl3k)
clont_path = owl2cache(url="http://purl.obolibrary.org/obo/cl.owl")
clont = setup_entities(clont_path)
plot(clont,cl3k)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.