.CtermPepCut | R Documentation |
Make named character vector of sequential C-terminal fragments.
.CtermPepCut(
pe,
mi,
se1 = ".",
se2 = "-",
mainName = NULL,
indexOffs = NULL,
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
pe |
(character, length=1) sequence to be cut in sequential way |
mi |
(integer) min number of AA residues for considering peptide fragments; should be <= length(pe) (otherwise the full length of 'pe' ALWAYS returned !) |
se1 |
(character, length=1) separators for adding numbers to specify partial/fragment locations |
se2 |
(character, length=1) separators for adding numbers to specify partial/fragment locations |
mainName |
(character, length=1) |
indexOffs |
(logical) offset to add for custom numbering in names (numeric, length=1), ie '1' will already increase by +1 |
silent |
(logical) suppress messages |
debug |
(logical) additional messages for debugging |
callFrom |
(character) allow easier tracking of messages produced |
This function returns a numeric vector with mass(es) and sequence in name(s)
more flexible/sophisticated see .termPepCut
; makeFragments
; convAASeq2mass
## Ubiquitin example
P0CG48 <- "MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIFAGKQLEDGRTLSDYNIQKESTLHLVLRLRGG"
cut1 <- .CtermPepCut(P0CG48, mi=3, mainName="P0CG48")
head(cut1); tail(cut1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.