{
  "_id": "6b02c6b435d1c7861e96a5a8",
  "Type": "Package",
  "Package": "SPCompute",
  "Title": "Compute Power or Sample Size for GWAS with Covariate Effect",
  "Version": "1.0.4",
  "Authors@R": "c(\nperson(\"Ziang\", \"Zhang\", email = \"ziangzhang@hkust-gz.edu.cn\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Lei\", \"Sun\", role = \"aut\")\n)",
  "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\"\n<doi:10.48550/arXiv.2203.15641>.",
  "License": "GPL (>= 3)",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-22 10:38:01 UTC",
    "User": "root"
  },
  "Author": "Ziang Zhang [aut, cre], Lei Sun [aut]",
  "Maintainer": "Ziang Zhang <ziangzhang@hkust-gz.edu.cn>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-22 00:30:18 UTC",
  "RemoteUrl": "https://github.com/cran/SPCompute",
  "RemoteRef": "HEAD",
  "RemoteSha": "b8872bf872256396c58bb4c3595eed46b65efd32",
  "_user": "cran",
  "_type": "src",
  "_file": "SPCompute_1.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/41c5c01a22837e2140f9f6e713d19784956213445d56fb7c825ba21675b428c7",
  "_filesize": 142275,
  "_sha256": "41c5c01a22837e2140f9f6e713d19784956213445d56fb7c825ba21675b428c7",
  "_expires": "2027-03-02T10:40:50.000Z",
  "_created": "2026-11-22T10:38:01.000Z",
  "_published": "2026-11-22T10:40:51.986Z",
  "_upstream": "https://github.com/cran/SPCompute",
  "_status": "success",
  "_maintainer": {
    "name": "Ziang Zhang",
    "email": "ziangzhang@hkust-gz.edu.cn"
  },
  "_jobs": [
    {
      "job": 137180487956,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14751076013"
    },
    {
      "job": 137180487932,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14751111784"
    },
    {
      "job": 137179541445,
      "time": 225,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14751141313"
    },
    {
      "job": 137180488012,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14750757647"
    },
    {
      "job": 137180487979,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14750657922"
    },
    {
      "job": 137180487975,
      "time": 93,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14750507137"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/45013079600",
  "_commit": {
    "id": "b8872bf872256396c58bb4c3595eed46b65efd32",
    "author": "Ziang Zhang <ziangzhang@hkust-gz.edu.cn>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.4\n",
    "time": 1795307418
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.4",
      "date": "2026-11-22"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 435,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SPCompute"
  },
  "_rbuild": "4.6.2",
  "_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": false,
  "_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"
    },
    {
      "version": "1.0.4",
      "date": "2026-11-22"
    }
  ],
  "_authors": [
    {
      "name": "Ziang Zhang",
      "email": "ziangzhang@hkust-gz.edu.cn",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Lei Sun",
      "role": [
        "aut"
      ]
    }
  ],
  "_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/cran/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-04-01 06:50:04",
      "modified": "2023-01-24 16:40:02",
      "commits": 2
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "spcompute",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://aguerozz.r-universe.dev/SPCompute",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-11-22T10:39:50.000Z",
      "distro": "resolute",
      "commit": "b8872bf872256396c58bb4c3595eed46b65efd32",
      "fileid": "https://r2.ropensci.org/5acd55dda34a5fbcfca23191d36a99f2b05ba75e1e3393cb17191461c707cfc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45013079600"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-11-22T10:40:02.000Z",
      "distro": "resolute",
      "commit": "b8872bf872256396c58bb4c3595eed46b65efd32",
      "fileid": "https://r2.ropensci.org/30fad7998a974355a47803a58d8dd5eced20dc1f46f1c2b1975b4ccec693a537",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45013079600"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-11-22T10:39:51.000Z",
      "commit": "b8872bf872256396c58bb4c3595eed46b65efd32",
      "fileid": "https://r2.ropensci.org/35f6f7fbcd25e00683deccc6232e6a9992e40e6b0d12709766e17d61d915492c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45013079600"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-11-22T10:39:01.000Z",
      "commit": "b8872bf872256396c58bb4c3595eed46b65efd32",
      "fileid": "https://r2.ropensci.org/f96ab9646d0e6cbe668b9659df3fff8d3496d749c0536e7f947e748485b12cf2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45013079600"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-11-22T10:39:11.000Z",
      "commit": "b8872bf872256396c58bb4c3595eed46b65efd32",
      "fileid": "https://r2.ropensci.org/954125fcda19137cbcdcb21335db26550182b3647b9484856f8df01d98e6b4a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45013079600"
    }
  ]
}