library(TargetDecoy)
library(RCurl)
library(mzID)
download.file(
url = "https://raw.githubusercontent.com/statOmics/PDA22GTPB/data/identification/pyrococcusMSGF%2B.mzid",
destfile = "pyrococcusMSGF+.mzid"
)
<- "pyrococcusMSGF+.mzid"
path2File <- mzID(path2File) msgf
## reading pyrococcusMSGF+.mzid...
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## Warning in type.convert.default(...): 'as.is' should be specified by the caller;
## using TRUE
## DONE!
Explore the results for search eninge scores to find correct names of search engine scores in the mzID.
evalTargetDecoys(msgf)
evalTargetDecoys(msgf,"isdecoy","ms-gf:evalue")
The plots show that the distribution of the MSGF+ PSM scores are nicely bimodal.
The separation between good target PSM scores and bad target PSM scores is less pronounced than for peptide shaker. So it is beneficial to include the other engines with peptideshaker.
We do not see deviations from the target decoy assumptions.