Last chance! 50% off unlimited learning
Sale ends in
Search for preferential fragmentation sites from 'pepTab' among the 3 colums specified via 'useCol' (for full AA sequence, preceeding AA, tailing AA) and return sum of scores (from 3rd column of prefFragPat) for both ends. Note : proteins must be witten as single lettre code.
scorePrefFrag(
pepTab,
useCol = c("seq", "precAA", "tailAA"),
prefFragPat = NULL,
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
This function returns a matrix with fragment sequence, mass, start- and end-position, heading and tailing AA (or NA if terminal fragment)
(matrix) peptide-fragments with lines for peptides, cols as sequence/preceedingAA/tailingAA
(character) column names for peptide-sequence,preceeding and tailing AA
(matrix) for preferential fragmentation rules (see .prefFragPattern()
)
(logical) suppress messages
(logical) additional messages and objects exportet to current session for debugging
(character) allow easier tracking of messages produced
makeFragments
pepT <- cbind(precAA=c("A","D","D","A","D"),seq=c("AKA","PKA","AKA","PKD","PKD"),
tailAA=c("A","A","D","P","P"))
scorePrefFrag(pepT)
Run the code above in your browser using DataLab