SumCountSS: Allelic Sum Test from Sumstats

View source: R/RcppExports.R

SumCountSSR Documentation

Allelic Sum Test from Sumstats

Description

Allelic Sum Test from Sumstats

Usage

SumCountSS(anno, beta, ld, se, weights, return_beta = FALSE)

Arguments

anno

(snps x 1) annotation vector with integer values in 1 through the number of annotation categories L.

beta

(snps x 1) vector of effect sizes for the coding genetic variants within a gene.

ld

(snps x snps) matrix of correlations among the genetic variants.

se

(snps x 1) vector of standard errors for the effect sizes.

weights

(L x 1) vector of annotation category weights. Note that the number of annotation categories L is inferred from the length of weights.

return_beta

Return estimated effect sizes and standard errors? Default: FALSE.

Value

If return_beta, a list containing the category effect sizes, standard errors, and the p-value. Otherwise, the numeric p-value only.


AllelicSeries documentation built on April 3, 2025, 7:46 p.m.