{
  "_id": "6aaba3003d719c1f8406cb31",
  "Type": "Package",
  "Package": "SPCompute",
  "Title": "Compute Power or Sample Size for GWAS with Covariate Effect",
  "Version": "1.0.3",
  "Author": "Ziang Zhang, Lei Sun",
  "Maintainer": "Ziang Zhang <aguero.zhang@mail.utoronto.ca>",
  "Description": "Fast computation of the required sample size or the\nachieved power, for GWAS studies with different types of\ncovariate effects and different types of covariate-gene\ndependency structure. For the detailed description of the\nmethodology, see Zhang (2022) \"Power and Sample Size\nComputation for Genetic Association Studies of Binary Traits:\nAccounting for Covariate Effects\" <arXiv:2203.15641>.",
  "License": "GPL (>= 3)",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.1",
  "Repository": "https://aguerozz.r-universe.dev",
  "Date/Publication": "2023-01-24 17:19:09 UTC",
  "RemoteUrl": "https://github.com/aguerozz/spcompute",
  "RemoteRef": "HEAD",
  "RemoteSha": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-17 08:00:50 UTC",
    "User": "root"
  },
  "_user": "aguerozz",
  "_type": "src",
  "_file": "SPCompute_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/106b46021901fa5461ff40d72a4d5d912077a6b847db9319a4132865cb0f1fd4",
  "_filesize": 142967,
  "_sha256": "106b46021901fa5461ff40d72a4d5d912077a6b847db9319a4132865cb0f1fd4",
  "_expires": "2026-12-26T08:21:18.000Z",
  "_created": "2026-09-17T08:00:50.000Z",
  "_published": "2026-09-17T08:21:20.188Z",
  "_jobs": [
    {
      "job": 105123944350,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10486094858"
    },
    {
      "job": 105123944321,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10486601413"
    },
    {
      "job": 105123944402,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10486528157"
    },
    {
      "job": 105123944551,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10486969033"
    },
    {
      "job": 105123031012,
      "time": 194,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10486341574"
    },
    {
      "job": 105123944371,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10486742040"
    },
    {
      "job": 105123944332,
      "time": 94,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10486866721"
    },
    {
      "job": 105123944407,
      "time": 113,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10486622224"
    },
    {
      "job": 105123944392,
      "time": 95,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10486591384"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/aguerozz/actions/runs/35197130331",
  "_status": "success",
  "_upstream": "https://github.com/aguerozz/spcompute",
  "_commit": {
    "id": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
    "author": "Ziang Zhang <49107284+AgueroZZ@users.noreply.github.com>",
    "committer": "Ziang Zhang <49107284+AgueroZZ@users.noreply.github.com>",
    "message": "version 1.0.3 update\n",
    "time": 1674580749
  },
  "_maintainer": {
    "name": "Ziang Zhang",
    "email": "aguero.zhang@mail.utoronto.ca"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "aguerozz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "aguerozz",
      "count": 25,
      "uuid": 49107284
    },
    {
      "user": "betsymm",
      "count": 1,
      "uuid": 97905970
    }
  ],
  "_userbio": {
    "uuid": 49107284,
    "type": "user",
    "name": "Ziang Zhang",
    "followers": 5
  },
  "_downloads": {
    "count": 207,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SPCompute"
  },
  "_devurl": "https://github.com/aguerozz/spcompute",
  "_searchresults": 14,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SPCompute.html"
  ],
  "_homeurl": "https://github.com/aguerozz/spcompute",
  "_realowner": "aguerozz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2022-04-01"
    },
    {
      "version": "1.0.2",
      "date": "2022-09-05"
    },
    {
      "version": "1.0.3",
      "date": "2023-01-24"
    }
  ],
  "_exports": [
    "check_parameters",
    "Compute_Power",
    "Compute_Power_multi",
    "Compute_Size",
    "Compute_Size_multi",
    "convert_preva_to_intercept"
  ],
  "_help": [
    {
      "page": "check_parameters",
      "title": "Check if the parameter list contains all the parameters required for the computation.",
      "topics": [
        "check_parameters"
      ]
    },
    {
      "page": "Compute_Power",
      "title": "Compute the Power of an association study, at a given sample size.",
      "topics": [
        "Compute_Power"
      ]
    },
    {
      "page": "Compute_Power_multi",
      "title": "Compute the Power of an association study at a given sample size, accommodating more than one covariates, using the Semi-Simulation method.",
      "topics": [
        "Compute_Power_multi"
      ]
    },
    {
      "page": "Compute_Size",
      "title": "Compute the sample size of an association study, to achieve a target power.",
      "topics": [
        "Compute_Size"
      ]
    },
    {
      "page": "Compute_Size_multi",
      "title": "Compute the sample size of an association study to achieve a target power for multiple E's, using semi-sim.",
      "topics": [
        "Compute_Size_multi"
      ]
    },
    {
      "page": "convert_preva_to_intercept",
      "title": "Convert the prevalence value to the intercept value beta0.",
      "topics": [
        "convert_preva_to_intercept"
      ]
    }
  ],
  "_readme": "https://github.com/aguerozz/spcompute/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix"
  ],
  "_vignettes": [
    {
      "source": "SPCompute-vignette.Rmd",
      "filename": "SPCompute-vignette.html",
      "title": "SPCompute",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Section 1: Compute power/sample size for binary traits",
        "Section 2: Compute power/sample size for continuous traits",
        "Section 3: Power/Sample Size Computation with Multiple Covariates"
      ],
      "created": "2022-02-28 20:08:07",
      "modified": "2023-01-24 17:19:09",
      "commits": 2
    }
  ],
  "_score": 3.845098040014257,
  "_indexed": true,
  "_nocasepkg": "spcompute",
  "_universes": [
    "aguerozz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-09-17T08:02:55.000Z",
      "distro": "resolute",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "https://r2.ropensci.org/ae343df5292ea00a54a4b7826c396de9827cb2792a8274a228dda1c881871c30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/35197130331"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-09-17T08:02:56.000Z",
      "distro": "resolute",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "https://r2.ropensci.org/6bfc08efc6f45de9dee245fd206616289a588d86ce624a7af34837665a216470",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/35197130331"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-09-17T08:16:08.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "https://r2.ropensci.org/258816f0f6e83a5fa7dd11a90c78768bd24c1c7c34dd2b02dcb7662ca92de9ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/35197130331"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-09-17T08:20:19.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "https://r2.ropensci.org/cd3b9b5a3223a9fc358d91a6ae955c2bb55a228e16a6e4f5fe31a2ad45a6b719",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/35197130331"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-09-17T08:03:04.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "https://r2.ropensci.org/14d15c400db9454aaf60d39e7631e91e6332096897e5c4ffd426c9a087f077ad",
      "status": "success",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/35197130331"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-09-17T08:01:55.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "https://r2.ropensci.org/db7b37507d3d85e30cfb55978a6a1e149fb21d12593d1bed454013fcc3d7c8d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/35197130331"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-09-17T08:02:21.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "https://r2.ropensci.org/162e0ad5c85c79a941176455f35be4d80e85ccd1fd763d1cb5b07739d684e875",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/35197130331"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-09-17T08:01:57.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "https://r2.ropensci.org/94aa24bdec4ff61eb011ae4a2032c0d88f7c79d58fb244afbeff021bacebd7dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/35197130331"
    }
  ]
}