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 Jan. 2, 2025, 4:10 a.m.