Learn R Programming

AllelicSeries (version 0.1.1.5)

CheckInputsSS: Input Checks for Summary Statistics

Description

Input Checks for Summary Statistics

Usage

CheckInputsSS(anno, beta, se, lambda, ld, weights, is_skat = FALSE, maf = NULL)

Value

Logical indicating whether the matrix was positive definite.

Arguments

anno

(snps x 1) annotation vector with values in c(0, 1, 2).

beta

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

se

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

lambda

Genomic inflation factor.

ld

(snps x snps) matrix of correlations among the genetic variants. Although ideally provided, an identity matrix is assumed if not.

weights

(L x 1) annotation category weights.

is_skat

Logical, is the check for the SKAT test?

maf

(snps x 1) vector of minor allele frequencies. Although ideally provided, defaults to the zero vector.