{
  "_id": "6a1edfa0b401979e73410630",
  "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-05-20 07:33:15 UTC",
    "User": "root"
  },
  "MD5sum": "b93a2ddce70fdc4ee7f135021341a95c",
  "_user": "aguerozz",
  "_type": "src",
  "_file": "SPCompute_1.0.3.tar.gz",
  "_fileid": "e4de3d98ebf0ff67e8ca0315325906a5fe244ad86e93795e4a266a83ef2f5d98",
  "_filesize": 141960,
  "_sha256": "e4de3d98ebf0ff67e8ca0315325906a5fe244ad86e93795e4a266a83ef2f5d98",
  "_created": "2026-05-20T07:33:15.000Z",
  "_published": "2026-06-02T13:50:24.745Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79086340098,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7103928161"
    },
    {
      "job": 79086340406,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7103925573"
    },
    {
      "job": 79086340454,
      "time": 174,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7103929587"
    },
    {
      "job": 79086339974,
      "time": 229,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7103933169"
    },
    {
      "job": 79086338984,
      "time": 240,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7103880681"
    },
    {
      "job": 79086339040,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7359592835"
    },
    {
      "job": 79086339781,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7103913982"
    },
    {
      "job": 79086340460,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7103917500"
    },
    {
      "job": 79086340284,
      "time": 95,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7103913208"
    }
  ],
  "_buildurl": "https://github.com/r-universe/aguerozz/actions/runs/26148067635",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 226,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SPCompute"
  },
  "_devurl": "https://github.com/aguerozz/spcompute",
  "_searchresults": 13,
  "_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/SPCompute.html",
    "manual.pdf"
  ],
  "_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.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "spcompute",
  "_universes": [
    "aguerozz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-20T07:35:21.000Z",
      "distro": "noble",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "ce6eaedac1b06ba3836175f02b160e2d0e3ad1cafc0fa9a92cafce421bf8d686",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/26148067635"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-20T07:35:16.000Z",
      "distro": "noble",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "21974b2e24f1cb69e65a3ff9b97b41c2ef021166dcb03068fea20405234c717c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/26148067635"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-20T07:35:36.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "481638e8977279dfdf0fd28782e87859c581c375d39ba5c11e978edcf92abc3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/26148067635"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-20T07:35:38.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "f30a7af0378d9d8681004a8642c694e8ee344f6f235d7ed2ba7e172dcaa7fbce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/26148067635"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-20T07:34:33.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "d3e63c45d9877aab0f0f4e4365a546c8ee027fcabfc817980cda0354ed5a0598",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/26148067635"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-20T07:34:36.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "0e9bceb97ec3bb3305ecfd11650682a9ddf4c0d97387b56e108ff8a586be447f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/26148067635"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-20T07:34:28.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "d3e337d9d96a1349021a2665ee71fc78b02bd09dee8c229bf0d9e4a29bc4a761",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/26148067635"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-02T13:49:55.000Z",
      "commit": "25648f47a3a1fb226f257455ab3bb345af1a5c75",
      "fileid": "f91c60c11d39bffb402b91ec930f8147aa853cf8b885f0403ea87509a4846ccb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/aguerozz/actions/runs/26148067635"
    }
  ]
}