get_proteins | R Documentation |
This function is used to retrieve data from Genbank's protein database for given protein IDs. If an ID is not available from Genbank the function will try to retrieve it from Uniprot.
get_proteins(uids, save_folder = NULL)
uids |
A character vector with protein IDs, or a data.table object
of class LBCE_dt, generated by |
save_folder |
path to folder for saving the results. |
Queries are processed one by one (rather than in batch) to enable treatment of individual inconsistencies (e.g., wrong UIDs, queries that return a different identifier, etc.). This makes this routine substantially slower, but considerably more robust to errors.
A list object containing a data frame with the extracted proteins plus a vector of IDs that were not successfully retrieved.
Felipe Campelo (f.campelo@aston.ac.uk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.