BFbeta: calculate BF with beta prior

Description Usage Arguments Value

View source: R/Fun_reg_MLE_K_03Jan2018_marg_lik.R

Description

calculate BF with beta prior

Usage

1
BFbeta(obs.data)

Arguments

obs.data

N*2 data matrix, N is the sample size, 1st column is sum of rare variants for each individual, 2nd column is the disease status

Value

Vector of 2 elements. 1st: precision parameter of beta distribution; 2nd: BF


adimitromanolakis/rareBF documentation built on July 24, 2019, 12:26 p.m.