protein_search {lipidmapsR}R Documentation

A function for Protein search

Description

A function for Protein search

Usage

protein_search(input_item, input_value, output_item, output_format = "")

Arguments

input_item

choose input item from the following options: "lm_id", "formula","inchi_key","pubchem_cid","hmdb_id","kegg_id","chebi_id","smiles","abbrev","abbrev_chains"

input_value

input the value you want to search

output_item

select your output from following options:"all","classification","lm_id","name","sys_name","synonyms","core","main_class","sub_class","class_level4","exactmass","formula","inchi","inchi_key","kegg_id","hmdb_id","chebi_id","lipidbank_id","pubchem_cid","smiles","molfile","structure","physchem"

output_format

select your output format from following options: "json (default)","text"

Value

The search results

Author(s)

Mingzhuo Tian tianmingzhuo@outlook.com License: GPL (>= 3)

Examples


# Fetch all protein fields from UniProt id
protein_search("uniprot_id", "Q13085", "all")
# Fetch all protein fields from Entrez gene id
protein_search("gene_id", "19", "all")
# Fetch mRNA id from protein Refseq id
protein_search("refseq_id", "NP_005493", "mrna_id")


[Package lipidmapsR version 1.0.4 Index]