unimodTocodename: Conversion from UniMod ID to modification name

Description Usage Arguments Value Examples

View source: R/getUnimodMapping.R

Description

Conversion from UniMod ID to modification name

Usage

1
unimodTocodename( mod_seq, out='sequence' )

Arguments

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

Value

A character vector. Returned mod_seq with converted codename or returned codename

Examples

1
2
3
4
5
mod_seq <- "EGHAQNPM(UniMod:35)EPS(UniMod:21)VPQLS(UniMod:21)LM(UniMod:35)DVK"
## Will return peptide sequence with modifciation code name
unimodTocodename( mod_seq )
## Out
## [1] "EGHAQNPM(Oxidation)EPS(Phospho)VPQLS(Phospho)LM(Oxidation)DVK"

Roestlab/mstools documentation built on Feb. 7, 2020, 3:57 p.m.