Package: diffdriver 0.1.7
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>.
Authors:
diffdriver_0.1.7.tar.gz
diffdriver_0.1.7.tar.gz(r-4.7-any)diffdriver_0.1.7.tar.gz(r-4.6-any)
diffdriver_0.1.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
diffdriver/json (API)
| # Install 'diffdriver' in R: |
| install.packages('diffdriver', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/szhaolab/diffdriver/issues
Pkgdown/docs site:https://szhaolab.github.io
Last updated from:b7416b20d7. Checks:4 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 184 | ||
| source / vignettes | OK | 213 | ||
| linux-release-x86_64 | OK | 199 | ||
| wasm-release | OK | 179 |
Exports:ddmodelddmodel_binaryddmodel_binary_simplediffdrivergenebinomgenefishergenelrmlrmlr.v2plot_mut
Dependencies:ashraskpassbase64encBHbrglmbslibcachemclicowplotcpp11crayoncrosstalkcurldata.tabledigestdplyrdqrngetrunctevaluatefarverfastmapfastTopicsFNNfontawesomefsgenericsggplot2ggrepelgluegtablegtoolshighrhmshtmltoolshtmlwidgetshttrinvgammairlbaisobandjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclemagrittrMatrixmemoisemimemixsqpopensslotelpbapplypillarpkgconfigplotlyplyrprettyunitsprofileModelprogresspromisespurrrquadprogR6rappdirsRColorBrewerRcppRcppAnnoyRcppArmadilloRcppEigenRcppParallelRcppProgressreshape2RhpcBLASctlrlangrmarkdownRSpectraRtsneS7sassscalessitmoSQUAREMstringistringrsystibbletidyrtidyselecttinytextruncnormutf8uwotvctrsviridisLitewithrxfunyaml
