loadIdMapping | R Documentation |
Loads an identifier mapping for a bioassay target (stored in the database as an NCBI GI number) to another protein target naming system. Common uses include UniProt identifiers, similarity clusters, and common names.
loadIdMapping(database, target, category, identifier)
database |
A writable |
target |
A single protein target NCBI GI number. |
category |
The specified identifier type of the data being loaded, such as 'UniProt'. |
identifier |
A |
Tyler Backman
http://www.ncbi.nlm.nih.gov/protein NCBI Protein Database http://www.uniprot.org UniProt Protein Database
translateTargetId
## create sample database myDatabaseFilename <- tempfile() mydb <- newBioassayDB(myDatabaseFilename, indexed=FALSE) ## load a sample translation from GI 6686268 to UniProt P11712 loadIdMapping(mydb, "6686268", "UniProt", "P11712") ## get UniProt identifier(s) for GI Number 6686268 UniProtIds <- translateTargetId(mydb, "6686268", "UniProt") UniProtIds ## disconnect from and delete sample database disconnectBioassayDB(mydb) unlink(myDatabaseFilename)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.