parse_uniprot_data: Parse UniProt Data

View source: R/parse.R

parse_uniprot_dataR Documentation

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)

Arguments

uniprot_data

A list returned by the UniProt API query.

Value

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

Examples

# Example usage:

# 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)


oglcnac documentation built on April 3, 2025, 6:16 p.m.