extract class relationship graph from JSON representation of OWL for NIO
Source:R/nio_details.R
jowl2classgraph_nio.Rd
extract class relationship graph from JSON representation of OWL for NIO
Examples
if (!requireNamespace("graph")) stop("install graph package from Bioconductor to use this function")
jpath = system.file("json", "nio.json.gz", package="ontoProc")
cg = jowl2classgraph_nio(jpath,
dropstrings = "http://purl.org/autism-ontology/1.0/autism-rules.owl#")
head(graph::nodes(cg))
#> [1] "MMSE immediate recall scalar score from composite inputs"
#> [2] "MoCA naming rhino assay"
#> [3] "cued conditioning behavior"
#> [4] "ADNI digit span forward length scalar measurement datum"
#> [5] "ADNI AVLT trial six scalar measurement datum"
#> [6] "dementia with Lewy bodies"