Learn R Programming

oglcnac (version 0.1.5)

parse_uniprot_data: Parse UniProt Data

Description

This function parses the data retrieved from the UniProt API to extract the entry name, protein name, and gene name.

Usage

parse_uniprot_data(uniprot_data)

Value

A list containing `entry_name`, `protein_name`, and `gene_name`.

Arguments

uniprot_data

A list returned by the UniProt API query.

Examples

Run this code
# Example usage:
# \donttest{
# Retrieve UniProt data
test_result <- retrieve_uniprot_data("O88737")

# Parse the UniProt data
parsed_result <- parse_uniprot_data(test_result)

# Print the parsed result
print(parsed_result)
# }

Run the code above in your browser using DataLab