Creates an ID translation table from UniProt data
Source:R/id_mapping.R
uniprot_full_id_mapping_table.RdCreates an ID translation table from UniProt data
Arguments
- to
Character or symbol: target ID type. See Details for possible values.
- from
Character or symbol: source ID type. See Details for possible values.
- reviewed
Translate only reviewed (
TRUE), only unreviewed (FALSE) or both (NULL) UniProt records.- organism
Integer, NCBI Taxonomy ID of the organism (by default 9606 for human).
Value
A data frame (tibble) with columns `From` and `To`, UniProt IDs and the corresponding foreign IDs, respectively.
Details
For both source and target ID type, this function accepts column codes
used by UniProt and some simple shortcuts defined here. For the UniProt
codes please refer to
https://www.uniprot.org/help/uniprotkb
The shortcuts are entrez, genesymbol, genesymbol_syn (synonym gene
symbols), hgnc, embl, refseqp (RefSeq protein), enst (Ensembl transcript),
uniprot_entry (UniProtKB AC, e.g. EGFR_HUMAN), protein_name (full name of
the protein), uniprot (UniProtKB ID, e.g. P00533). For a complete table
please refer to translate_ids.