if (FALSE) {
# plot the top ten highes scored PSMs
par(ask = TRUE)
idx <- order(protViz:::.mascot.get.pep_score(S), decreasing = TRUE)[1:10]
rv.peakplot <- lapply(S$queries[idx], plot)
myAA <- do.call('rbind', lapply(F225712$masses,
function(x){
data.frame(letter1=as.character(x$.attrs), mass=as.numeric(x$text))
}))
aa2mass("ELVISR", mass=myAA$mass[1:25], letter1 = myAA$letter1[1:25])
}
Run the code above in your browser using DataLab