visualize ontology selection via onto_plot2, based on owlents
Source:R/plot.owlents.R
plot.owlents.Rd
visualize ontology selection via onto_plot2, based on owlents
Examples
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")
#> resource BFC1045 already in cache from http://purl.obolibrary.org/obo/cl.owl
o2 = try(reticulate::import("owlready2"), silent=TRUE)
if (!inherits(o2, "try-error")) {
clont = setup_entities(clont_path)
plot(clont,cl3k)
}