{
  "_id": "6ab2519d3d719c1f8408bb3c",
  "Package": "FDRsamplesize2",
  "Type": "Package",
  "Title": "Computing Power and Sample Size for the False Discovery Rate in\nMultiple Applications",
  "Version": "0.2.0",
  "Authors@R": "c(person(given = \"Yonghui\",\nfamily = \"Ni\",\nrole = c(\"aut\", \"cre\"),\nemail = \"Yonghui.Ni@STJUDE.ORG\"),\nperson(given = \"Stanley\",\nfamily = \"Pounds\",\nrole = \"aut\",\nemail = \"Stanley.Pounds@STJUDE.ORG\"))",
  "Maintainer": "Yonghui Ni <Yonghui.Ni@STJUDE.ORG>",
  "Description": "Defines a collection of functions to compute average power\nand sample size for studies that use the false discovery rate\nas the final measure of statistical significance. A\nthree-rectangle approximation method of a p-value histogram is\nproposed to derive a formula to compute the statistical power\nfor analyses that involve the FDR. The methodology paper of\nthis package is under review.",
  "Encoding": "UTF-8",
  "License": "MIT + file LICENSE",
  "RoxygenNote": "7.2.3",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-22 09:54:26 UTC",
    "User": "root"
  },
  "Author": "Yonghui Ni [aut, cre], Stanley Pounds [aut]",
  "Repository": "https://yonghui-ni.r-universe.dev",
  "Date/Publication": "2024-02-28 02:30:19 UTC",
  "RemoteUrl": "https://github.com/cran/FDRsamplesize2",
  "RemoteRef": "HEAD",
  "RemoteSha": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
  "_user": "yonghui-ni",
  "_type": "src",
  "_file": "FDRsamplesize2_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/3ad80914ea7e7dcadc350e779d8a9f60d3d0fb93a039f25df08a7fc09543d637",
  "_filesize": 175813,
  "_sha256": "3ad80914ea7e7dcadc350e779d8a9f60d3d0fb93a039f25df08a7fc09543d637",
  "_expires": "2026-12-31T09:59:55.000Z",
  "_created": "2026-09-22T09:54:26.000Z",
  "_published": "2026-09-22T09:59:57.211Z",
  "_jobs": [
    {
      "job": 106697964231,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10688065873"
    },
    {
      "job": 106697964262,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10687785583"
    },
    {
      "job": 106697964212,
      "time": 218,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10688071161"
    },
    {
      "job": 106697964226,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10688240946"
    },
    {
      "job": 106697179500,
      "time": 154,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10688095610"
    },
    {
      "job": 106697964133,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10687815448"
    },
    {
      "job": 106697965896,
      "time": 69,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10687336227"
    },
    {
      "job": 106697965847,
      "time": 68,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10688055054"
    },
    {
      "job": 106697965927,
      "time": 80,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10687765517"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/yonghui-ni/actions/runs/35712772702",
  "_status": "success",
  "_upstream": "https://github.com/cran/FDRsamplesize2",
  "_commit": {
    "id": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
    "author": "Yonghui Ni <Yonghui.Ni@STJUDE.ORG>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1709087419
  },
  "_maintainer": {
    "name": "Yonghui Ni",
    "email": "yonghui.ni@stjude.org",
    "login": "yonghui-ni",
    "description": "",
    "uuid": 130253317
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yonghui-ni",
      "count": 2,
      "uuid": 130253317
    }
  ],
  "_userbio": {
    "uuid": 130253317,
    "type": "user",
    "name": "yonghui-ni",
    "followers": 0
  },
  "_downloads": {
    "count": 199,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/FDRsamplesize2"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/FDRsamplesize2.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_realowner": "yonghui-ni",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-11-27"
    },
    {
      "version": "0.2.0",
      "date": "2024-02-27"
    }
  ],
  "_exports": [
    "alpha.power.fdr",
    "average.power.coxph",
    "average.power.fisher",
    "average.power.hart",
    "average.power.li",
    "average.power.oneway",
    "average.power.ranksum",
    "average.power.signrank",
    "average.power.signtest",
    "average.power.t.test",
    "average.power.tcorr",
    "average.power.twoprop",
    "fdr.avepow",
    "fdr.power.alpha",
    "find.sample.size",
    "n.fdr.coxph",
    "n.fdr.fisher",
    "n.fdr.negbin",
    "n.fdr.oneway",
    "n.fdr.poisson",
    "n.fdr.ranksum",
    "n.fdr.signrank",
    "n.fdr.signtest",
    "n.fdr.tcorr",
    "n.fdr.ttest",
    "n.fdr.twoprop",
    "power.cox",
    "power.fisher",
    "power.hart",
    "power.li",
    "power.oneway",
    "power.ranksum",
    "power.signrank",
    "power.signtest",
    "power.tcorr"
  ],
  "_help": [
    {
      "page": "alpha.power.fdr",
      "title": "Compute p-value threshold for given the proportion pi0 of tests with a true null",
      "topics": [
        "alpha.power.fdr"
      ]
    },
    {
      "page": "average.power.coxph",
      "title": "Compute the average power of many Cox regression models",
      "topics": [
        "average.power.coxph"
      ]
    },
    {
      "page": "average.power.fisher",
      "title": "Compute average power of many Fisher's exact tests",
      "topics": [
        "average.power.fisher"
      ]
    },
    {
      "page": "average.power.hart",
      "title": "Compute average power for RNA-seq experiments assuming Negative Binomial distribution",
      "topics": [
        "average.power.hart"
      ]
    },
    {
      "page": "average.power.li",
      "title": "Compute average power for RNA-Seq experiments assuming Poisson distribution",
      "topics": [
        "average.power.li"
      ]
    },
    {
      "page": "average.power.oneway",
      "title": "Compute average power of many one-way ANOVA tests",
      "topics": [
        "average.power.oneway"
      ]
    },
    {
      "page": "average.power.ranksum",
      "title": "Compute average power of rank-sum tests",
      "topics": [
        "average.power.ranksum"
      ]
    },
    {
      "page": "average.power.signrank",
      "title": "Compute average power of many signed-rank tests",
      "topics": [
        "average.power.signrank"
      ]
    },
    {
      "page": "average.power.signtest",
      "title": "Compute average power of many sign tests",
      "topics": [
        "average.power.signtest"
      ]
    },
    {
      "page": "average.power.t.test",
      "title": "Compute average power of many t-tests",
      "topics": [
        "average.power.t.test"
      ]
    },
    {
      "page": "average.power.tcorr",
      "title": "Compute average power of many t-tests for non-zero correlation",
      "topics": [
        "average.power.tcorr"
      ]
    },
    {
      "page": "average.power.twoprop",
      "title": "Computer average power of many two proportion z-tests",
      "topics": [
        "average.power.twoprop"
      ]
    },
    {
      "page": "fdr.avepow",
      "title": "Compute FDR and average power for a given sample size and effect size vector",
      "topics": [
        "fdr.avepow"
      ]
    },
    {
      "page": "fdr.power.alpha",
      "title": "Compute FDR for given p-value threshold, average power and proportion of tests with a true null",
      "topics": [
        "fdr.power.alpha"
      ]
    },
    {
      "page": "find.sample.size",
      "title": "Determines the sample size needed to achieve the desired FDR and average power",
      "topics": [
        "find.sample.size"
      ]
    },
    {
      "page": "n.fdr.coxph",
      "title": "Sample size calculation for the Cox proportional hazards regression model",
      "topics": [
        "n.fdr.coxph"
      ]
    },
    {
      "page": "n.fdr.fisher",
      "title": "Sample size calculation for Fisher's Exact tests",
      "topics": [
        "n.fdr.fisher"
      ]
    },
    {
      "page": "n.fdr.negbin",
      "title": "Sample size calculation for Negative Binomial data",
      "topics": [
        "n.fdr.negbin"
      ]
    },
    {
      "page": "n.fdr.oneway",
      "title": "Sample size calculation for one-way ANOVA",
      "topics": [
        "n.fdr.oneway"
      ]
    },
    {
      "page": "n.fdr.poisson",
      "title": "Sample size calculation for Poisson data",
      "topics": [
        "n.fdr.poisson"
      ]
    },
    {
      "page": "n.fdr.ranksum",
      "title": "Sample size calculation for rank-sum tests",
      "topics": [
        "n.fdr.ranksum"
      ]
    },
    {
      "page": "n.fdr.signrank",
      "title": "Sample size calculation for signed-rank tests",
      "topics": [
        "n.fdr.signrank"
      ]
    },
    {
      "page": "n.fdr.signtest",
      "title": "Sample size calculation for sign tests",
      "topics": [
        "n.fdr.signtest"
      ]
    },
    {
      "page": "n.fdr.tcorr",
      "title": "Sample size calculation for t-tests for non-zero correlation",
      "topics": [
        "n.fdr.tcorr"
      ]
    },
    {
      "page": "n.fdr.ttest",
      "title": "Sample size calculation for t-tests",
      "topics": [
        "n.fdr.ttest"
      ]
    },
    {
      "page": "n.fdr.twoprop",
      "title": "Sample size calculation for comparing two proportions",
      "topics": [
        "n.fdr.twoprop"
      ]
    },
    {
      "page": "power.cox",
      "title": "Compute the power of a single-predictor Cox regression model",
      "topics": [
        "power.cox"
      ]
    },
    {
      "page": "power.fisher",
      "title": "Compute power for Fisher's exact test",
      "topics": [
        "power.fisher"
      ]
    },
    {
      "page": "power.hart",
      "title": "Compute power for RNA-seq experiments assuming Negative Binomial distribution",
      "topics": [
        "power.hart"
      ]
    },
    {
      "page": "power.li",
      "title": "Compute power for RNA-Seq experiments assuming Poisson distribution",
      "topics": [
        "power.li"
      ]
    },
    {
      "page": "power.oneway",
      "title": "Compute power of one-way ANOVA",
      "topics": [
        "power.oneway"
      ]
    },
    {
      "page": "power.ranksum",
      "title": "Compute power of the rank-sum test",
      "topics": [
        "power.ranksum"
      ]
    },
    {
      "page": "power.signrank",
      "title": "Compute power of the signed-rank test",
      "topics": [
        "power.signrank"
      ]
    },
    {
      "page": "power.signtest",
      "title": "Compute power of the sign test",
      "topics": [
        "power.signtest"
      ]
    },
    {
      "page": "power.tcorr",
      "title": "Compute power of the t-test for non-zero correlation",
      "topics": [
        "power.tcorr"
      ]
    }
  ],
  "_readme": "https://github.com/cran/FDRsamplesize2/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "fdrsamplesize2",
  "_universes": [
    "yonghui-ni"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-22T09:56:31.000Z",
      "distro": "resolute",
      "commit": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
      "fileid": "https://r2.ropensci.org/aaf4d73aa26a6e9db4faacf6be2502a819b02bcbc2cfb2e83d93386ed70624d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yonghui-ni/actions/runs/35712772702"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-22T09:56:21.000Z",
      "distro": "resolute",
      "commit": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
      "fileid": "https://r2.ropensci.org/77bdd50847c968779ca6f6c6bd980c4127ae31820b09dfd95e3da00f731c29f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yonghui-ni/actions/runs/35712772702"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-22T09:58:37.000Z",
      "commit": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
      "fileid": "https://r2.ropensci.org/1a693cdfc5dbc2d3806b8a06ef71724b88c9a69db391981cfca04dde64055551",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yonghui-ni/actions/runs/35712772702"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-22T09:57:39.000Z",
      "commit": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
      "fileid": "https://r2.ropensci.org/dc097fc6e265714aaeb086ec30f35a78d272d7f9bc8599b543984495737a819a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yonghui-ni/actions/runs/35712772702"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-22T09:56:12.000Z",
      "commit": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
      "fileid": "https://r2.ropensci.org/215be5c6ea30ebaa54fe497b35353e43c2cbe7483cf6a4967f2cbd9b9e842641",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yonghui-ni/actions/runs/35712772702"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-22T09:55:30.000Z",
      "commit": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
      "fileid": "https://r2.ropensci.org/6cc77c3da7e4cd9b1e2d40ec9fcff84472f658a8707703a0b99f0ac2910f6a9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yonghui-ni/actions/runs/35712772702"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-22T09:55:35.000Z",
      "commit": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
      "fileid": "https://r2.ropensci.org/53d0ed94d9efd879ac3fa968205c64b8523e6f73a69307e45b75df2443d43d73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yonghui-ni/actions/runs/35712772702"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-22T09:55:44.000Z",
      "commit": "d1ea88ffd3378e62ea1a8723072ac925c00a65e6",
      "fileid": "https://r2.ropensci.org/0e6bfaf1a87a954175e0052ffeddd1a3b2293bc5c622ed5f749facd2066ddbc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yonghui-ni/actions/runs/35712772702"
    }
  ]
}