Package: sffdr
Type: Package
Title: Surrogate Functional False Discovery Rates for Genome-Wide
        Association Studies
Version: 1.1.2
Authors@R: c(person("Andrew", "Bass", email ="ab3105@cam.ac.uk", role = c("aut", "cre")),
             person("Chris", "Wallace", email ="chris.wallace@cam.ac.uk", role = c("aut")))
Maintainer: Andrew Bass <ab3105@cam.ac.uk>
Description: Pleiotropy-informed significance analysis of genome-wide association studies with surrogate functional false discovery rates (sfFDR). The sfFDR framework  adapts the fFDR to leverage informative data from multiple sets of GWAS summary statistics to increase power in study while accommodating for linkage disequilibrium. sfFDR provides estimates of key FDR quantities in a significance analysis such as the functional local FDR and $q$-value, and uses these estimates to derive a functional $p$-value for type I error rate control and a functional local Bayes' factor for post-GWAS analyses (e.g., fine mapping and colocalization). 
URL: https://github.com/ajbass/sffdr
License: LGPL
Encoding: UTF-8
VignetteBuilder: knitr
LazyData: true
Depends: R (>= 4.1.0)
Imports: locfit, splines, ggplot2 (>= 3.5.1), patchwork (>= 1.3.0),
        qvalue, fastglm, withr, Rcpp
LinkingTo: Rcpp
Suggests: testthat (>= 3.0.0), knitr, rmarkdown
RoxygenNote: 7.3.3
NeedsCompilation: yes
Packaged: 2026-03-31 15:04:13 UTC; andrewbass
Author: Andrew Bass [aut, cre],
  Chris Wallace [aut]
Repository: CRAN
Date/Publication: 2026-03-31 15:20:02 UTC
Built: R 4.5.2; aarch64-apple-darwin20; 2026-03-31 17:46:26 UTC; unix
Archs: sffdr.so.dSYM
