{
  "_id": "6a499ad04ae8ee07ee1331d1",
  "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-07-04 23:38:56 UTC",
    "User": "root"
  },
  "Author": "Andrew Bass [aut, cre],\nChris Wallace [aut]",
  "_user": "ajbass",
  "_type": "src",
  "_file": "sffdr_1.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/30a68b6b1450d2e0759739253f8efcb079958e8dce4a96bbcdfdb8104537944f",
  "_filesize": 608237,
  "_sha256": "30a68b6b1450d2e0759739253f8efcb079958e8dce4a96bbcdfdb8104537944f",
  "_expires": "2026-10-12T23:44:14.000Z",
  "_created": "2026-07-04T23:38:56.000Z",
  "_published": "2026-07-04T23:44:16.496Z",
  "_jobs": [
    {
      "job": 85176271079,
      "time": 173,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8086459946"
    },
    {
      "job": 85176271080,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8086459171"
    },
    {
      "job": 85176271078,
      "time": 182,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8086460622"
    },
    {
      "job": 85176271083,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8086459737"
    },
    {
      "job": 85176271086,
      "time": 178,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8086457194"
    },
    {
      "job": 85176271089,
      "time": 275,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8086468150"
    },
    {
      "job": 85176271082,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8086454082"
    },
    {
      "job": 85176271085,
      "time": 234,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8086464002"
    },
    {
      "job": 85176066394,
      "time": 231,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8086442820"
    },
    {
      "job": 85176271070,
      "time": 187,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8086460955"
    },
    {
      "job": 85176271073,
      "time": 132,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8086455574"
    },
    {
      "job": 85176271087,
      "time": 138,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8086456168"
    },
    {
      "job": 85176271084,
      "time": 136,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8086456048"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 34,
    "description": "Researcher, PhD @StoreyLab "
  },
  "_downloads": {
    "count": 257,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sffdr"
  },
  "_devurl": "https://github.com/ajbass/sffdr",
  "_searchresults": 30,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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": "16-20260322-1ubuntu1",
      "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.623249290397901,
  "_indexed": true,
  "_nocasepkg": "sffdr",
  "_universes": [
    "ajbass"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-04T23:41:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/95a80cb4c1bd80d7fb5787b53de623eb25ff3ae9fa5d1e6765637098bf74853a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-04T23:41:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/d31325e601be59a183556ac9c56cc4d25377c7267e389d2e00a8b127c9d6b203",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-04T23:41:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/b57ccbbc854f118246dcbe1e20111eb6341b51b0b43330ba6b543f5dc6e7af43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-04T23:41:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/8a7586434cd83acb11c02b6b8248e93e570f009e361b15ee2e72ca4b570996c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-04T23:41:19.000Z",
      "arch": "aarch64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/6fb96438d965be1d363681749a1febebd1e3806e2cb7632c22af8ad57c5cf880",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-04T23:42:30.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/21bc4065f793792a3e7c4b52e03d041f14c4b7a1d25c0c24a5da0882431dd914",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-04T23:40:49.000Z",
      "arch": "aarch64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/19ada1f6cf42dbbdda32e3932840dbe8b0c64245135ae77609417aca55b61d01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-04T23:42:01.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/4e1d78b08243874e4ad82e09a072988bfec7824b3920ff97f973e3ea8a9e01a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-07-04T23:42:21.000Z",
      "arch": "emscripten",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/3c109cdc9aab21393fe1db2463897d1f8abf79a0504f6798124bed4beaba9957",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-04T23:40:29.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/4387b136e942422235ba2dac511c4e9486e22f78caae9900653123e98ff0f5ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-04T23:40:37.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/6db94e9cdc191dcf5f43ff19e8d4f64841f81b40be037bbd4e7dcfa5b28c7f9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-04T23:40:34.000Z",
      "arch": "x86_64",
      "commit": "10127bfa1b852b86aeb584df90a1766f8145aa2c",
      "fileid": "https://r2.ropensci.org/607a05fbdd47a1e5b635a1211b6bbbbf6d92d4b2358d1df12db39d85fd1f4fb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajbass/actions/runs/28723214505"
    }
  ]
}