View source: R/scoreChargeCatch.R
scoreChargeCatch | R Documentation |
Make score based on cumulative search for AA with given potential to catch charge (H+, or optionally any charge). Note : at current cumulative scoring large peptides may get priviliged.
scoreChargeCatch(
resTab,
pepCol = "seq",
scale01 = TRUE,
chargeMode = "pos",
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
resTab |
(matrix or data.frame) matrix or data.frame of results for SINGLE protein (here only the column specified with argument 'pepCol' will be used) |
pepCol |
(character) column name of 'resTab' containing the peptide sequence to be scored |
scale01 |
(logical) linear rescale output to maximum 1.0 |
chargeMode |
(character) this value may be 'pos' (default) for the positively charged amino-acids K,R and H or, if this argument has any other value, than all charged amino-acids (K,R,H, S,T,N,Q, D,E, W and Y) will be considered. |
silent |
(logical) suppress messages |
debug |
(logical) additional messages and objects exportet to current session for debugging |
callFrom |
(character) allow easier tracking of messages produced |
This function returns a numeric vector with score for each peptide of resTab (even if scale01=TRUE
minimum may be >0 if all peptides do contain charge-catching AAs)
fragmentSeq
resTa <- matrix(c(1:4, "PEPTID","PEPTIK","PEPTRK","AGV"), ncol=2,
dimnames=list(NULL,c("predInd","seq")))
scoreChargeCatch(resTa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.