Description Usage Arguments Value Examples
View source: R/getUnimodMapping.R
Conversion from modification codename to UniMod ID
1 | codenameTounimod( mod_seq, out='sequence' )
|
mod_seq |
A character vector containing of a peptide sequence, containing modification code names to be converted to UniMod IDs |
out |
A character vector. Default: 'sequence' will return mod_seq with covnerted codename to unimod. Otherwise, will return converted unimod |
A character vector. Returned mod_seq with converted unimod or returned unimod
1 2 3 4 5 | mod_seq <- "EGHAQNPM(Oxidation)EPS(Phospho)VPQLS(Phospho)LM(Oxidation)DVK"
## Will return peptide sequence with UniMod ID
codenameTounimod ( mod_seq )
## Out
## [1] "EGHAQNPM(UniMod:35)EPS(UniMod:21)VPQLS(UniMod:21)LM(UniMod:35)DVK"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.