plot.owlents: visualize ontology selection via onto_plot2, based on owlents

View source: R/plot.owlents.R

plot.owlentsR Documentation

visualize ontology selection via onto_plot2, based on owlents

Description

visualize ontology selection via onto_plot2, based on owlents

Usage

plot.owlents(x, y, ..., dropThing = TRUE)

Arguments

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

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")
o2 = try(reticulate::import("owlready2"), silent=TRUE)
if (!inherits(o2, "try-error")) {
 clont = setup_entities(clont_path)
 plot(clont,cl3k)
}

vjcitn/ontoProc documentation built on Nov. 27, 2024, 4:38 p.m.