Skip to contents

Import and preprocessing

Five readers, one output contract. Four convert a quantification report, and preprocess_se() a SummarizedExperiment imported with another tool, into the same proteomics_data object, so everything downstream is independent of the search engine.

preprocess_spectronaut()
Preprocess Spectronaut reports
preprocess_diann()
Preprocess DIA-NN protein-group matrices
preprocess_tmt()
Preprocess Proteome Discoverer TMT exports
preprocess_lfq()
Preprocess Proteome Discoverer LFQ exports
preprocess_se()
Import Protein Intensities from a SummarizedExperiment

The analysis pipeline

process_proteomics() runs normalisation, optional batch correction, imputation and differential abundance in order. The individual stages are exported too, for workflows that need them separately.

process_proteomics()
Process proteomics data
normalize_proteomics()
Normalize proteomics data
batch_correct_proteomics()
Batch Correction with BERT
impute_proteomics()
Impute proteomics data
de_analysis_proteomics()
Perform differential expression analysis on proteomics data

Batch effects

Deciding whether a batch effect matters before correcting it: variance decomposition and PCA against the covariates.

pvca_analysis()
PVCA Analysis – Orchestrator
pca_covariates_plot()
PCA Plots Colored by Covariates

Choosing a normalisation method

Ranks methods on properties of the data themselves, with no ground truth required. Pass methods to compare the twelve methods; without it the assays already in the object are ranked instead.

normalization_metrics()
Generate quality metric plots for normalization comparison
nm_prepare_se()
Prepare a SummarizedExperiment from a proteomics_data object
nm_run_normalizations()
Run multiple normalization methods from a baseline assay
import_norm_matrices()
Import normalized matrices into a SummarizedExperiment

Choosing an imputation method

Simulated missingness on complete rows. The masking hides observed values, so the ranking measures MAR recovery: use it for the MAR stage, not to choose an MNAR one.

imputation_metrics()
Generate imputation quality metric plots and ranking
im_prepare_se()
Build a SummarizedExperiment for imputation benchmarking
import_imp_matrices()
Import imputed matrices into a SummarizedExperiment

Benchmarking one pipeline against a spike-in

With a known ground truth, how well a pipeline recovers the expected changes. A positive counts only when it is significant and in the expected direction.

benchmarking_proteomics()
Benchmark Proteomics Differential Expression Results

Ranking several pipelines

Comparing normalisation and imputation combinations against each other, with the OpDEA ranking and an extended eleven-metric one.

benchmarking_multiple()
Multiple-method OpDEA Benchmarking

Interactive figures

Highcharts volcano plots, boxplots and PCA. Each returns a named list, one entry per comparison or mode.

volcano_highchart_list()
Interactive Volcano Plot with Highcharter
boxplot_highchart_list()
Interactive Highcharts Boxplot for Proteomics
pca_highchart_list()
Build a List of PCA Plots for Multiple Subsets
build_pca_scores()
Build a PCA scores data frame from data in long format

Static figures

Heatmaps through tidyHeatmap and ComplexHeatmap.

proteomics_heatmap()
Create a tidyHeatmap Heatmap for Proteomics
proteomics_heatmap_list()
Build a List of Heatmaps for Several Subsets

Expression patterns

Fuzzy clustering of profiles across conditions, and the join that turns it into the input for a functional analysis.

pattern_profiler_analysis()
Pattern Profiler Analysis
summarize_pattern_profiler()
Summary of the Pattern Profiler data
read_pattern_profiler_data()
Read Pattern Profiler data from a parquet file
cluster_profile_highchart()
Cluster profile plot with Highcharts
cluster_profile_highchart_list()
List of cluster profile plots with Highcharts
cluster_centroids_highchart()
Centroid plot for all the clusters
deps_with_clusters()
Differential abundance with the Pattern Profiler cluster of each protein

Interactive tables

Reactable tables for reviewing results. *_reactable() returns the table alone; *_widget() returns a complete page with a toolbar and Excel export.

results_list_reactable()
Interactive Reactable Table for Differential Expression Results
results_list_widget()
Full Widget with Filters, Search, Export and CSS
protein_list_reactable()
Interactive Reactable Table for Protein_ID Data (post-Spectronaut)
protein_list_widget()
Full Widget for the Protein_ID Table with Filters, Search and Excel Export
quant_list_widget()
Full Widget for the Protein_QUANT Table with the log2 Matrix Appended
summary_list_widget()
Interactive Reactable Table for the Sample Metadata

The .nadia archive

One DuckDB file holding a whole analysis: data, parameters and provenance, with the reconstruction stored as SQL views rather than duplicated rows.

write_nadia()
Write a complete analysis to a single .nadia file
read_nadia()
Read a .nadia file
nadia_result()
Rebuild the processing result from a .nadia file
nadia_preprocessing()
Rebuild the preprocessing object from a .nadia file
nadia_tables()
List the contents of a .nadia file without loading it
nadia_connect()
Open a connection to a .nadia file
nadia_export_parquet()
Export the tables of a .nadia file to Parquet
nadia_add_pattern_profiler()
Add a Pattern Profiler run to an existing .nadia file
nadia_pattern_profiler()
Rebuild the Pattern Profiler table from a .nadia file
nadia_deps_with_clusters()
Differential abundance with clusters, from a .nadia file

Running NADIA from an assistant

The agent skill shipped with the package.

nadia_skill_path()
Locate the NADIA agent skill

Example data

A preprocessed DIA dataset: three conditions, four replicates, 2,000 protein groups, 8.1 % missing. The trimmed reports for all four input formats live in inst/extdata/.

nadia_dia
Example DIA experiment, already preprocessed