Crandore Hub

diffdriver

Identify Differential Selection

Tests for context-dependent selection on cancer driver genes using somatic mutation data. The package implements the DiffDriver statistical framework to assess whether the strength of positive selection on mutations in a driver gene is associated with tumor- or individual-level context variables, such as clinical traits, genomic features, or immune microenvironment subtypes. DiffDriver estimates individual- and position-specific background mutation rates, models selection as a deviation from the background rate using functional annotations, and tests context effects through a latent-variable logistic model. It provides utilities for preparing mutation and annotation data, fitting differential-selection models, running gene-level association tests, summarizing candidate genes, and visualizing mutation patterns. The method is described in Zhou et al. (2026) "Detecting context-dependent selection on cancer driver genes with DiffDriver" <doi:10.64898/2026.04.06.716771>.

Versions across snapshots

VersionRepositoryFileSize
0.1.7 rolling linux/jammy R-4.5 diffdriver_0.1.7.tar.gz 168.5 KiB
0.1.7 rolling linux/noble R-4.5 diffdriver_0.1.7.tar.gz 168.3 KiB
0.1.7 rolling source/ R- diffdriver_0.1.7.tar.gz 60.1 KiB
0.1.7 latest linux/jammy R-4.5 diffdriver_0.1.7.tar.gz 168.5 KiB
0.1.7 latest linux/noble R-4.5 diffdriver_0.1.7.tar.gz 168.3 KiB
0.1.7 latest source/ R- diffdriver_0.1.7.tar.gz 60.1 KiB
0.1.7 2026-04-23 source/ R- diffdriver_0.1.7.tar.gz 0 B

Dependencies (latest)

Imports

Suggests