Skip to content

SPCompute

Compute Power or Sample Size for GWAS with Covariate Effect

v1.0.3 · Jan 24, 2023 · GPL (>= 3)

Description

Fast computation of the required sample size or the achieved power, for GWAS studies with different types of covariate effects and different types of covariate-gene dependency structure. For the detailed description of the methodology, see Zhang (2022) "Power and Sample Size Computation for Genetic Association Studies of Binary Traits: Accounting for Covariate Effects" <arXiv:2203.15641>.

Downloads

CRAN

273

Last 30 days

14982nd

791

Last 90 days

2.8K

Last year

Trend: +50% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

24

Last 90 days

100

Last year

Trend: -35.7% (30d vs prior 30d)

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Ziang Zhang <aguero.zhang@mail.utoronto.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Ziang",
                      family = "Zhang",
                      role = c("aut", "cre"),
                      email = "aguero.zhang@mail.utoronto.ca"),
               person(given = "Lei",
                      family = "Sun",
                      role = "aut"))
as necessary.

The Description field contains
  Accounting for Covariate Effects" <arXiv:2203.15641>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Ziang Zhang <aguero.zhang@mail.utoronto.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Ziang",
                      family = "Zhang",
                      role = c("aut", "cre"),
                      email = "aguero.zhang@mail.utoronto.ca"),
               person(given = "Lei",
                      family = "Sun",
                      role = "aut"))
as necessary.

The Description field contains
  Accounting for Covariate Effects" <arXiv:2203.15641>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Ziang Zhang <aguero.zhang@mail.utoronto.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Ziang",
                      family = "Zhang",
                      role = c("aut", "cre"),
     
...[truncated]...
            family = "Sun",
                      role = "aut"))
as necessary.

The Description field contains
  Accounting for Covariate Effects" <arXiv:2203.15641>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Ziang Zhang <aguero.zhang@mail.utoronto.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Ziang",
                      family = "Zhang",
                      role = c("aut", "cre"),
     
...[truncated]...
            family = "Sun",
                      role = "aut"))
as necessary.

The Description field contains
  Accounting for Covariate Effects" <arXiv:2203.15641>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

Dependency Network

Dependencies Reverse dependencies Matrix SPCompute

Version History

4 tracked
new 1.0.3 Mar 10, 2026
updated 1.0.3 ← 1.0.2 diff Jan 23, 2023
updated 1.0.2 ← 1.0.1 diff Sep 4, 2022
new 1.0.1 Mar 31, 2022