Description Usage Arguments Value Examples
View source: R/getUnimodMapping.R
Conversion from UniMod ID to a unique string isomeric id
1 | unimodTouniisoid( mod_seq, out='sequence' )
|
mod_seq |
A character vector containing of a peptide sequence, containing UniMod IDs to be converted to code names |
out |
A character vector. Default: 'sequence' will return mod_seq with covnerted unimod to codename. Otherwise, will return converted codename |
mod_exclusion |
A vector of unimod record id modifications to exclude, and replace by nothing. Example: c("35") |
mod_grouping |
A dataframe contained uninod ids and random characters to group isomers by. Example: data.frame( record_id=c(4, 259, 267), rand_char_id="B", stringsAsFactors = F ) |
A character vector. Returned mod_seq with converted codename or returned codename
1 2 3 4 5 | mod_seq <- "EGHAQNPM(UniMod:35)EPS(UniMod:21)VPQLS(UniMod:21)LM(UniMod:35)DVK"
## Will return a unique string id that can be used to group isomers
unimodTouniisoid( mod_seq )
## Out
## [1] "EGHAQNPM(Oxidation)EPS(Phospho)VPQLS(Phospho)LM(Oxidation)DVK"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.