resolveURL: Load data for a given url from the OMA Browser API.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

This function is usualy not needed by users. In most circumstances an attribute containing a URL is automatically loaded when accessed. However, in case the data is transformed into a dataframe, this will no longer be true, in which case one can access the data behind this attribute using this function.

Usage

1

Arguments

url

The url of interest

Value

a data.frame containing the information behind an URL

Examples

1
resolveURL('http://omabrowser.org/api/protein/YEAST58/gene_ontology/')

Example output

Loading required package: httr
Loading required package: plyr

Cannot resolve 'http://omabrowser.org/api/protein/YEAST58/gene_ontology/?per_page=5000&page=1'. Please connect to the internet
NULL

OmaDB documentation built on Nov. 13, 2020, 2 a.m.