resolve_single_id: Resolves missing external IDs belonging to a single...

Description Usage Arguments Value Examples

View source: R/discover.R

Description

Resolves missing external IDs belonging to a single metabolome ID

Usage

1
resolve_single_id(start_db_tag, start_db_id)

Arguments

start_db_tag

The type of the ID - which database it belongs to? All lowercase and must end in '_id'

start_db_id

The metabolome ID in the given database

Value

A list containing some statistics and a dataframe, that contains a single row with the resolved data.

Examples

1
2
3
4
# For example to start the search from https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:8077
resp <- resolve_single_id("chebi_id", "8077")
df.out <- resp$df
view(df.out)

oboforty/metafetcher documentation built on Aug. 18, 2021, 6:38 a.m.