credset: Determine whether a SNP is in the credible set

Description Usage Arguments Value Author(s)

View source: R/abf.R

Description

Given a vector of probabilities bf, calculates which ones are in the credible set, e.g. those for which the cumulative distribution is <.95

Usage

1
credset(bf, cred = 0.95)

Arguments

bf

Vector of probabilites/frequencies

cred

threshold for credible set (e.g. .95)

Value

ps Vector of which values are in the credible set

Author(s)

Unknown - Toby?


tobyjohnson/gtx documentation built on Aug. 30, 2019, 8:07 p.m.