queryUniprot {psichomics} | R 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)

[Package psichomics version 1.6.2 Index]