{
  "_id": "6a19eaf21d7bb097a09c6e7b",
  "Package": "sffdr",
  "Type": "Package",
  "Title": "Surrogate Functional False Discovery Rates for Genome-Wide\nAssociation Studies",
  "Version": "1.1.2",
  "Authors@R": "c(person(\"Andrew\", \"Bass\", email =\"ab3105@cam.ac.uk\", role = c(\"aut\", \"cre\")),\nperson(\"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\nassociation studies with surrogate functional false discovery\nrates (sfFDR). The sfFDR framework adapts the fFDR to leverage\ninformative data from multiple sets of GWAS summary statistics\nto increase power in study while accommodating for linkage\ndisequilibrium. sfFDR provides estimates of key FDR quantities\nin a significance analysis such as the functional local FDR and\n$q$-value, and uses these estimates to derive a functional\n$p$-value for type I error rate control and a functional local\nBayes' factor for post-GWAS analyses (e.g., fine mapping and\ncolocalization).",
  "URL": "https://github.com/ajbass/sffdr",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ajbass.r-universe.dev",
  "Date/Publication": "2026-04-01 14:57:52 UTC",
  "RemoteUrl": "https://github.com/ajbass/sffdr",
  "RemoteRef": "HEAD",
  "RemoteSha": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-29 19:30:21 UTC",
    "User": "root"
  },
  "Author": "Andrew Bass [aut, cre],\nChris Wallace [aut]",
  "MD5sum": "70805c1d5ac264967aff96ed59398a4e",
  "_user": "ajbass",
  "_type": "src",
  "_file": "sffdr_1.1.2.tar.gz",
  "_fileid": "5c339c3baf01ef3ae3cbf227978b57214d0878470f8e3fab700ac3781a9691ec",
  "_filesize": 603782,
  "_sha256": "5c339c3baf01ef3ae3cbf227978b57214d0878470f8e3fab700ac3781a9691ec",
  "_created": "2026-05-29T19:30:21.000Z",
  "_published": "2026-05-29T19:37:22.165Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78572652791,
      "time": 198,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7299392328"
    },
    {
      "job": 78572652794,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7299383950"
    },
    {
      "job": 78572652793,
      "time": 177,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299385721"
    },
    {
      "job": 78572652784,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299381115"
    },
    {
      "job": 78572652843,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7299365132"
    },
    {
      "job": 78572652826,
      "time": 378,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7299449573"
    },
    {
      "job": 78572652817,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299360539"
    },
    {
      "job": 78572652820,
      "time": 274,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299417086"
    },
    {
      "job": 78571995549,
      "time": 245,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299325711"
    },
    {
      "job": 78572652811,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299369552"
    },
    {
      "job": 78572652799,
      "time": 159,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7299379736"
    },
    {
      "job": 78572652771,
      "time": 180,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7299386834"
    },
    {
      "job": 78572652792,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299376714"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ajbass/sffdr",
  "_commit": {
    "id": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
    "author": "Andrew Bass <ajb359@gmail.com>",
    "committer": "Andrew Bass <ajb359@gmail.com>",
    "message": "Changed to MIT license\n",
    "time": 1775055472
  },
  "_maintainer": {
    "name": "Andrew Bass",
    "email": "ab3105@cam.ac.uk",
    "login": "ajbass",
    "description": "Researcher, PhD @StoreyLab ",
    "uuid": 7573657
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "locfit",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.1",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "qvalue",
      "role": "Imports"
    },
    {
      "package": "fastglm",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "ajbass",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 18
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 20
    },
    {
      "week": "2026-10",
      "n": 3
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.1.0",
      "date": "2026-02-12"
    },
    {
      "name": "v1.1.2",
      "date": "2026-03-31"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "ajbass",
      "count": 47,
      "uuid": 7573657
    }
  ],
  "_userbio": {
    "uuid": 7573657,
    "type": "user",
    "name": "Andrew Bass",
    "description": "Researcher, PhD @StoreyLab "
  },
  "_downloads": {
    "count": 185,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sffdr"
  },
  "_devurl": "https://github.com/ajbass/sffdr",
  "_searchresults": 24,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sffdr.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ajbass/sffdr",
  "_realowner": "ajbass",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-12-02"
    },
    {
      "version": "1.1.0",
      "date": "2026-02-16"
    },
    {
      "version": "1.1.2",
      "date": "2026-03-31"
    }
  ],
  "_exports": [
    "decorrelate_informative",
    "discover_empirical_nulls",
    "estimate_rho_overlap",
    "fpi0est",
    "fpvalues",
    "kernelEstimator",
    "monoSmooth_conditional",
    "monoSmooth_pava",
    "overlap_null_density",
    "pi0_model",
    "run_empirical_overlap_correction",
    "sffdr"
  ],
  "_datasets": [
    {
      "name": "sumstats",
      "title": "Subset of p-values from the UK Biobank",
      "object": "bmi",
      "class": [
        "data.frame"
      ],
      "fields": [
        "bmi",
        "bfp",
        "cholesterol",
        "triglycerides"
      ],
      "rows": 10000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bmi",
      "title": "Subset of p-values from the UK Biobank",
      "topics": [
        "bmi",
        "sumstats"
      ]
    },
    {
      "page": "decorrelate_informative",
      "title": "Soft whitening of informative trait z-scores",
      "topics": [
        "decorrelate_informative"
      ]
    },
    {
      "page": "discover_empirical_nulls",
      "title": "Discover Empirical Negative Controls",
      "topics": [
        "discover_empirical_nulls"
      ]
    },
    {
      "page": "estimate_rho_overlap",
      "title": "Estimate sample overlap correlation",
      "topics": [
        "estimate_rho_overlap"
      ]
    },
    {
      "page": "fpi0est",
      "title": "Estimate Functional Proportion of Null Tests",
      "topics": [
        "fpi0est"
      ]
    },
    {
      "page": "fpvalues",
      "title": "Functional p-values",
      "topics": [
        "fpvalues"
      ]
    },
    {
      "page": "kernelEstimator",
      "title": "Kernel Density Estimation for GWAS P-values",
      "topics": [
        "kernelEstimator"
      ]
    },
    {
      "page": "monoSmooth_conditional",
      "title": "Fast Conditional Monotonic Smoothing",
      "topics": [
        "monoSmooth_conditional"
      ]
    },
    {
      "page": "monoSmooth_pava",
      "title": "Fast Conditional PAVA (Decreasing)",
      "topics": [
        "monoSmooth_pava"
      ]
    },
    {
      "page": "overlap_null_density",
      "title": "Compute conditional null density under sample overlap",
      "topics": [
        "overlap_null_density"
      ]
    },
    {
      "page": "pi0_model",
      "title": "Build Model for Functional Proportion of Null Tests (fpi0)",
      "topics": [
        "pi0_model"
      ]
    },
    {
      "page": "plot.sffdr",
      "title": "Plotting function for sffdr object",
      "topics": [
        "plot,",
        "plot.sffdr"
      ]
    },
    {
      "page": "run_empirical_overlap_correction",
      "title": "Run Overlap Correction using Data-Driven Nulls",
      "topics": [
        "run_empirical_overlap_correction"
      ]
    },
    {
      "page": "sffdr",
      "title": "Surrogate Functional False Discovery Rate Analysis",
      "topics": [
        "sffdr"
      ]
    }
  ],
  "_readme": "https://github.com/ajbass/sffdr/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "bigmemory",
    "bigmemory.sri",
    "cli",
    "cpp11",
    "farver",
    "fastglm",
    "Formula",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "locfit",
    "magrittr",
    "Matrix",
    "patchwork",
    "plyr",
    "qvalue",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "reshape2",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "sffdr.Rmd",
      "filename": "sffdr.html",
      "title": "sffdr Package Vignette",
      "author": "Andrew J. Bass and Chris Wallace",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Citing this package",
        "Getting help",
        "Installation",
        "Quick start guide",
        "1. Modeling the functional proportion of null tests $\\pi_{0}(z)$",
        "2. Estimating the functional significance quantities",
        "3. Incorporating linkage disequilibrium (LD)",
        "Advanced usage",
        "Enforcing monotonicity",
        "Incorporating LD scores",
        "Manual Knot Selection and using other informative variables"
      ],
      "created": "2024-09-18 08:06:19",
      "modified": "2026-02-26 10:23:50",
      "commits": 18
    }
  ],
  "_score": 5.5263392773898445,
  "_indexed": true,
  "_nocasepkg": "sffdr",
  "_universes": [
    "ajbass"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-05-29T19:33:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "4229f8b29e8054635e55c28a930a0976285c5e7b6ae2b6adce48aa95965c28dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-05-29T19:33:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "c6c4c16d452286225cb5b520ac60c90b7170d14f8da8bc7da94b285a5a57f6c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-05-29T19:33:14.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "d932d2a52abe251e4721782c998fdde93006ef7cdb8084878822a4e12c637dec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-05-29T19:32:57.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "83a14d8c656ccfa9b44a043f567ddc7192060b625fd2c8edf6c068021ecf8a90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-05-29T19:32:14.000Z",
      "arch": "aarch64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "a4e82dc35e4b0c3f2cc8b605ae29bbb6f8029721fae72c2dbcf5dbef08a567a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-05-29T19:35:46.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "a807b240a327a35037959b05ebb0663c8a57c1ed8f6796621784fcf5cef7ae3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-05-29T19:32:04.000Z",
      "arch": "aarch64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "5c4b72f34ed703836ce33c63a30bd380df210f03b9148cc0abb875a639d73e62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-05-29T19:34:00.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "c439158c1255318f3ec2ac461228874cf5e26147a1fc82901371e0c6bc8f180b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-05-29T19:32:53.000Z",
      "arch": "emscripten",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "12757dd1c1258b541cf8285a4c80c49851af63d01c90e81bb882ccd0dda5c707",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-05-29T19:32:18.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "1a794df3948ba4c9e41d87d01245db04e4e1c12ecc6d4633c4337d0d41c00693",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-05-29T19:32:36.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "0ab4c1b8cf655c1b111fa60c3d5c6ed152f6d4760e2d1bbf65a4a8edf8e34815",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-05-29T19:32:18.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "9c917c57cb679fb1b9a3d32e99453c6640473c30849f256a12ab689423be383b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/26657672099"
    }
  ]
}