owl2cache: cache an owl file accessible via URL

View source: R/owl2cache.R

owl2cacheR Documentation

cache an owl file accessible via URL

Description

cache an owl file accessible via URL

Usage

owl2cache(cache = BiocFileCache::BiocFileCache(), url)

Arguments

cache

BiocFileCache instance or equivalent

url

character(1)

Note

This function will check for presence of url in cache using bfcquery; if a hit is found, returns the rpath associated with the last matching record. etags can be available for use with bfcneedsupdate.

Examples

ca = BiocFileCache::BiocFileCache()
hppa = owl2cache(ca, 
   url="http://purl.obolibrary.org/obo/hp/releases/2023-10-09/hp-base.owl")
setup_entities(hppa)

vjcitn/ontoProc documentation built on March 23, 2024, 7:23 a.m.