View source: R/autism_details.R
jowl2classgraph | R Documentation |
extract class relationship graph from JSON representation of OWL
jowl2classgraph(
jsonpath,
dropstrings = c("http://www.ifomis.org/bfo/1.1/snap#",
"http://purl.org/autism-ontology/1.0/autism-rules.owl#")
)
jsonpath |
character(1) path to JSON, typically generated by java robot applied to owl |
dropstrings |
character(), strings to be excised from class names |
graphNEL with edgemode 'directed'
if (!requireNamespace("graph")) stop("install graph package from Bioconductor to use this function")
jpath = system.file("json", "aut.json.gz", package="ontoProc")
cg = jowl2classgraph(jpath,
dropstrings = "http://purl.org/autism-ontology/1.0/autism-rules.owl#")
head(graph::nodes(cg))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.