bayesTest: Bayes test of excess variant frequency with CADD-based prior

Description Usage Arguments Examples

View source: R/bayesTest.R

Description

Bayes test of excess variant frequency with CADD-based prior

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
bayesTest(
  N.pair,
  N.trio,
  vData,
  cutoff = 0.2,
  ceiling = 2000,
  floor = 0.01,
  rate = 0.5,
  Q = 100
)

Arguments

N.pair

Matrix of 0/1/2 counts for sister pairs

N.trio

Matrix of 0/1/2/3 counts for sister trios

vData

data.table of variant info (ExAC frequencies and CADD scores)

cutoff

Exclude variants with ExAC frequencies above this cutoff

ceiling

Ceiling for prior

floor

Floor for prior

rate

Decay rate for prior

Q

Number of null simulations to run for q value calculation

Examples

1
2
3
4
5
N2 <- epcot_example$N2
N3 <- epcot_example$N3
vData <- epcot_example$vData
res <- bayesTest(N2, N3, vData)
head(res[order(res$FDR),])

pbreheny/epcot documentation built on June 18, 2021, 7:46 a.m.