MyNixOS website logo
Description

Differential Abundance Analysis for Phosphoproteomics Data.

Provides tools for analyzing differential abundance in proteomics experiments. Implements S3 classes for data management and supports Generalized Linear Models (GLM; Nelder and Wedderburn (1972) <doi:10.2307/2344614>), Aligned Rank Transform (ART; Wobbrock et al. (2011) <doi:10.1145/1978942.1978963>), and pairwise test methods for statistical analysis. Includes visualization functions for Principal Component Analysis (PCA), volcano plots, and heatmaps.

pepdiff pepdiff website

Lifecycle:experimental CRANstatus R-CMD-check pkgdown License:MIT GitHubissues GitHubstars

Differential abundance analysis for proteomics data.

pepdiff helps proteomics researchers answer: “What’s differentially abundant?”

Features

  • GLM analysis – Gamma GLM with emmeans for factorial designs
  • ART analysis – Non-parametric alternative for heavy-tailed data
  • Pairwise tests – Wilcoxon, bootstrap-t, Bayes factor, rank products
  • Stratified comparisons – Analyse effects within factor levels
  • Fit diagnostics – Visual checks for GLM model assumptions
  • Rich visualizations – Volcano plots, heatmaps, PCA, p-value histograms

Installation

Install from GitHub:

# install.packages("pak")
pak::pak("TeamMacLean/pepdiff")

Quick Start

library(pepdiff)

# Import data
dat <- read_pepdiff(
  "data.csv",
  id = "peptide",
  gene = "gene_id",
  value = "abundance",
  factors = c("treatment", "timepoint"),
  replicate = "bio_rep"
)

# Run differential analysis
results <- compare(
  dat,
  compare = "treatment",
  ref = "ctrl",
  method = "glm"
)

# Visualize results
plot(results)

Documentation

Companion Package

peppwR answers “How many samples do I need?” (power analysis) pepdiff answers “What’s differentially abundant?” (analysis)

See peppwR for experimental design planning.

Workflow

flowchart LR
    A[CSV] --> B[read_pepdiff]
    B --> C[pepdiff_data]
    C --> D[compare]
    D --> E[pepdiff_results]
    E --> F[plot]

    style A fill:#FFFFCC,stroke:#BD0026
    style B fill:#FD8D3C,stroke:#BD0026,color:#fff
    style C fill:#FFFFCC,stroke:#BD0026
    style D fill:#FD8D3C,stroke:#BD0026,color:#fff
    style E fill:#FFFFCC,stroke:#BD0026
    style F fill:#FD8D3C,stroke:#BD0026,color:#fff

Citation

If you use pepdiff in your research, please cite:

MacLean, D. (2026). pepdiff: Differential Abundance Analysis for
Proteomics Data. R package version 1.0.0.
https://github.com/TeamMacLean/pepdiff

Contributing

Contributions welcome! Please open an issue or submit a pull request.

License

MIT.

Metadata

Version

1.0.0

License

Unknown

Platforms (80)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows