Learn R Programming

oglcnac (version 0.1.5)

retrieve_uniprot_data: Retrieve Data from UniProt API

Description

This function sends a GET request to the UniProt REST API and retrieves data based on the provided UniProt accession number.

Usage

retrieve_uniprot_data(accession)

Value

A list containing the retrieved data in JSON format, or NULL if the request fails.

Arguments

accession

A character string representing the UniProt accession number.

Examples

Run this code
# Example usage
# \donttest{
result <- retrieve_uniprot_data("O88737")
print(result)
# }

Run the code above in your browser using DataLab