Learn R Programming

AllelicSeries (version 0.1.1.5)

SumCountSS: Allelic Sum Test from Sumstats

Description

Allelic Sum Test from Sumstats

Usage

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

Value

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

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.