본문으로 건너뛰기
cccskills
무료GitHub에 공개

bioconductor-targetdecoy

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

TargetDecoy

Workflows

Standard Workflow

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

library(TargetDecoy)
data("ModSwiss")

# 1. Combined 4-plot grid (PP-plot, Histogram, and their zoomed versions)
evalTargetDecoys(ModSwiss, decoy = "isdecoy", score = "ms-gf:specevalue", log10 = TRUE, nBins = 50)

# 2. Individual Histogram
evalTargetDecoysHist(ModSwiss, decoy = "isdecoy", score = "ms-gf:specevalue", log10 = TRUE, nBins = 50)

# 3. Individual PP-plot
evalTargetDecoysPPPlot(ModSwiss, decoy = "isdecoy", score = "ms-gf:specevalue", log10 = TRUE)

Note: Input is a data.frame (or mzID/mzRident object) containing target/decoy designations and search engine scores; outputs are ggplot objects representing diagnostic plots.

When to Use

  • Evaluating Target-Decoy Approach (TDA) assumptions: Generate diagnostic PP-plots and histograms to check if decoy PSM scores are a good simulation of incorrect target PSM scores.
  • Comparing multiple search engines: Evaluate and compare the performance of different search engines (e.g., MS-GF+, OMSSA, X!Tandem) or search runs using createPPlotScores() and createPPlotObjects().

When NOT to Use

  • For calculating false discovery rates (FDR): For peptide/protein quantification or FDR calculation directly, use packages like MSstats or QFeatures because TargetDecoy is strictly for diagnostic evaluation of TDA assumptions.
  • For raw mass spectrometry data visualization: For plotting raw spectra or chromatograms, use Spectra or Chromatograms because TargetDecoy operates on search engine output scores (PSMs).

Data Requirements

  • Input Format: An object of class mzID (created via mzID::mzID()), mzRident (created via mzR::openIDfile()), or a standard data.frame (e.g., ModSwiss).
  • Decoy Indicator: A boolean variable indicating whether each match is a decoy (typically "isdecoy" or "isDecoy").
  • Search Engine Score: A continuous score variable from a database search engine (e.g., "ms-gf:specevalue", "x!tandem:expect"), where larger scores indicate better matches (e-values should be log-transformed).

Key Parameters

  • object: An mzID, mzRident, or data.frame object containing the PSM search results.
  • decoy: Character string specifying the column name indicating decoy status.
  • score: Character string specifying the column name containing the search engine scores.
  • log10 (TRUE): Logical indicating whether the score should be -log10 transformed (typically used for e-values).
  • nBins (50): Integer specifying the number of bins in the histogram.
  • zoom (FALSE): Logical indicating whether to zoom in on the PP-plot or histogram.
  • scores: Character vector of score variable names for comparing multiple search engines in createPPlotScores().

Best Practices

  • Always check both the histogram and the PP-plot; a linear PP-plot at lower percentiles confirms that the decoy distribution matches the bad target distribution.
  • Log-transform e-values or expectation values (set log10 = TRUE) so that larger values represent better matches, aligning with the package's assumptions.
  • Use createPPlotScores() to evaluate how multi-stage search strategies (like X!Tandem's second pass) or combined search engines (like PeptideShaker) affect TDA assumptions.

Common Pitfalls

  • Violating TDA assumptions via two-pass searches: Refined searches against subsetted databases (e.g., X!Tandem) can cause decoy scores to be unrepresentative of bad target scores, visible as a deviation from the $\pi_0$ line in the PP-plot.
  • Incorrect score orientation: Ensure that the score used has larger values for better matches; if not, apply appropriate transformations (e.g., -log10).
  • Unknown variable names: If variable names are unknown, call evalTargetDecoys() with only the input object to launch the interactive Shiny gadget.

Alternatives

  • MSstats: For statistical relative quantification of proteins and peptides.
  • MSnbase: For processing and plotting raw mass spectrometry data and quantitative features.
  • Spectra: For low-level representation and handling of mass spectrometry raw spectra.

Citations

  • Debrie E, Clement L, Malfait M (2026). TargetDecoy: Diagnostic Plots to Evaluate the Target Decoy Approach. doi:10.18129/B9.bioc.TargetDecoy. R package version 1.18.0.

References

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

bioMate-AI의 스킬 모두 보기

이 스킬의 문제 신고