SER: The single effect regression model

View source: R/SER.R

SERR Documentation

The single effect regression model

Description

The single effect regression model

Usage

SER(X, y, pi0 = NULL, sig2 = 10, sig02 = 0.1)

Arguments

X

SNPs, a n*p matrix.

y

trait, a n*1 vector.

pi0

hyperparameter of the prior distribution of gamma.

sig2

hyperparameter, the variance of the trait y.

sig02

hyperparameter, the variance of the coefficient.

Value

a tibble consists of the result of the function BSLR on the SNPs matrix X.


statwangz/SuSiE documentation built on Nov. 22, 2022, 5:21 p.m.