Skip to content

Effective sample size for case/control GWAS - #554

Merged
danielnachun merged 1 commit into
StatFunGen:mainfrom
Yining97:gwas-effective-n
Jul 21, 2026
Merged

Effective sample size for case/control GWAS#554
danielnachun merged 1 commit into
StatFunGen:mainfrom
Yining97:gwas-effective-n

Conversation

@Yining97

Copy link
Copy Markdown
Contributor

summaryStatsQc canonicalizes per-variant N to the effective sample size
4/(1/nCase + 1/nControl) for case/control studies (counts from per-variant
N_CASE/N_CONTROL columns or study nCase/nControl scalars; counts win over an
explicit N, logged). Applied uniformly to the N-filter, kriging, the RSS fit,
and colocboost via a shared effectiveN() helper. Default on; effectiveN=FALSE
restores raw N. Quantitative traits unchanged.

summaryStatsQc canonicalizes per-variant N to the effective sample size
4/(1/nCase + 1/nControl) for case/control studies (counts from per-variant
N_CASE/N_CONTROL columns or study nCase/nControl scalars; counts win over an
explicit N, logged). Applied uniformly to the N-filter, kriging, the RSS fit,
and colocboost via a shared effectiveN() helper. Default on; effectiveN=FALSE
restores raw N. Quantitative traits unchanged.
@danielnachun
danielnachun merged commit 6824609 into StatFunGen:main Jul 21, 2026
4 of 5 checks passed
@Yining97
Yining97 deleted the gwas-effective-n branch July 27, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants