ontoDiff: Display Version Differences

ontoDiffR Documentation

Display Version Differences

Description

Highlights in green the terms that are present in the new ontology but not the old one

Usage

ontoDiff(newonto, oldonto, terms2use, cex = 0.8, ...)

Arguments

newonto

the newest version of the ontology

oldonto

the old version of the ontology

terms2use

terms of interest

cex

numeric(1) defaults to .8, supplied to Rgraphviz::graph.par

...

passed to onto_plot of ontologyPlot

Value

onto_plot2 style plot with version differences highlighted

Examples

cl = getOnto("diseaseOnto")
cl2 = getOnto(ontoname = "diseaseOnto", year_added = "2021")
cl3k = c("DOID:0040064","DOID:0040076","DOID:0081127","DOID:0081126","DOID:0081131","DOID:0060034")
ontoDiff(cl,cl2,cl3k)

vjcitn/ontoProc documentation built on Jan. 9, 2025, 3:21 p.m.