queryUniprot: Query the UniProt REST API

View source: R/analysis_information.R

queryUniprotR Documentation

Query the UniProt REST API

Description

Query the UniProt REST API

Usage

queryUniprot(molecule, format = "xml")

Arguments

molecule

Character: protein or transcript to query

format

Character: format of the response

Value

Parsed response

Examples

protein <- "P51587"
format <- "xml"
psichomics:::queryUniprot(protein, format)

transcript <- "ENST00000488540"
format <- "xml"
psichomics:::queryUniprot(transcript, format)

nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.