getXrefList: Get Xref List

View source: R/getXrefList.R

getXrefListR Documentation

Get Xref List

Description

Retrieve the Xref identifiers for a specific pathway in a particular system code

Usage

getXrefList(pathway = NULL, systemCode = NULL, compact = FALSE)

Arguments

pathway

WikiPathways identifier (WPID) for the pathway to download, e.g. WP554

systemCode

(character) The BridgeDb code associated with the data source or system, e.g., En (Ensembl), L (NCBI gene), H (HGNC), S (UniProt), Wd (Wikidata), Ce (ChEBI), Ik (InChI). See column two of https://github.com/bridgedb/datasources/blob/main/datasources.tsv.

compact

(Boolean) Whether to return compact identifiers, like ncbigene:1215. If FALSE (default), then just the identifier is returned, like 1215

Value

A list of Xrefs identifiers

Examples

{
xrefs = getXrefList("WP2338", "L")
}

wikipathways/rWikiPathways documentation built on Sept. 3, 2024, 12:31 p.m.