createPPlotScores | R Documentation |
Create diagnostic PP plots in one figure to evaluate the TDA assumptions for multiple search engines. The function provides the possibility to evaluate each of the sub-engines and the overall itself.
createPPlotScores(object, scores, decoy, log10 = TRUE)
object |
A |
scores |
A |
decoy |
|
log10 |
|
One PP plot with all original pi0, and a standardized / rescaled PP plot with
all pi0
set to 0.
Elke Debrie, Lieven Clement
library(mzID) ## Use one of the example files in the mzID package exampleFile <- system.file("extdata", "55merge_tandem.mzid", package = "mzID") mzIDexample <- mzID(exampleFile) plots <- createPPlotScores(mzIDexample, scores = c("x\\!tandem:hyperscore", "x\\!tandem:expect"), decoy = "isdecoy", log10 = TRUE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.