TargetDecoy
Bioc currentDiagnostic Plots to Evaluate the Target Decoy Approach
Release Lineage
Entered 3.14 · Oct 27, 2021
Current · Requires R 4.6
Description
A first step in the data analysis of Mass Spectrometry (MS) based proteomics data is to identify peptides and proteins. With this respect the huge number of experimental mass spectra typically have to be assigned to theoretical peptides derived from a sequence database. Search engines are used for this purpose. These tools compare each of the observed spectra to all candidate theoretical spectra derived from the sequence data base and calculate a score for each comparison. The observed spectrum is then assigned to the theoretical peptide with the best score, which is also referred to as the peptide to spectrum match (PSM). It is of course crucial for the downstream analysis to evaluate the quality of these matches. Therefore False Discovery Rate (FDR) control is used to return a reliable list PSMs. The FDR, however, requires a good characterisation of the score distribution of PSMs that are matched to the wrong peptide (bad target hits). In proteomics, the target decoy approach (TDA) is typically used for this purpose. The TDA method matches the spectra to a database of real (targets) and nonsense peptides (decoys). A popular approach to generate these decoys is to reverse the target database. Hence, all the PSMs that match to a decoy are known to be bad hits and the distribution of their scores are used to estimate the distribution of the bad scoring target PSMs. A crucial assumption of the TDA is that the decoy PSM hits have similar properties as bad target hits so that the decoy PSM scores are a good simulation of the target PSM scores. Users, however, typically do not evaluate these assumptions. To this end we developed TargetDecoy to generate diagnostic plots to evaluate the quality of the target decoy method.
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
18 6 exported
Complexity
2.3 avg / 5 max
Call network
18 nodes / 26 edges
Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
1,841
Files
36
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
6
Internal functions
12
Testing & CI
Has tests
Yes
Test-to-code ratio
0.26
testthat edition
3
CI present
Yes
CI type
["github-actions"]
PR gated
Yes
Docs
Roxygen coverage
100%
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.1
System requirements
–
C++ standard
–
License
Artistic-2.0
License flags
SPDX valid, OSI approved
History
Versions
10
First release
2021-10-26
Latest release
2026-04-28
Avg cadence
182 days
Cold removal rate
–
Dep drift
2
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Topics
People
- Elke Debrie author maintainer
- Lieven Clement author
- Milan Malfait author
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("TargetDecoy")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.