Description Usage Arguments Value Author(s) See Also Examples
Recode names of the AAStringSet object
1 | recodeFASTA(fasta, mapping = NULL, i = NULL)
|
fasta |
AAStringSet object for which to generate new names or the interactionSubsetFASTA which to rename back to the original names |
mapping |
data.table, mapping table between new and original names |
i |
which element of the interactionSubsetFASTA to rename back to the original names |
list of the original AAStringSet object with new names and mapping table between new and original names
interactionSubsetFASTA object with original names as provided by mapping table
Vitalii Kleshchevnikov
1 2 3 4 | # from original to new
recoded.fasta = recodeFASTA(fasta)
# from new to original
subset_fasta = recodeFASTA(subset_fasta, recoded.fasta$names_mapping, i = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.