queryUniprot: Query the UniProt REST API

Description Usage Arguments Value Examples

View source: R/analysis_information.R

Description

Query the UniProt REST API

Usage

1
queryUniprot(molecule, format = "xml")

Arguments

molecule

Character: protein or transcript to query

format

Character: format of the response

Value

Parsed response

Examples

1
2
3
4
5
6
7
protein <- "P51587"
format <- "xml"
psichomics:::queryUniprot(protein, format)

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

psichomics documentation built on Nov. 8, 2020, 5:44 p.m.