finemapr: Run FINEMAP.

Description Usage Examples

View source: R/finemapr.R

Description

Run FINEMAP.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
finemapr(
  tab,
  ld,
  n,
  annot,
  annotations,
  prop_credible = 0.95,
  method = c("finemap", "paintor"),
  dir_run,
  tool,
  args = "",
  prior_k,
  save_ld = FALSE,
  ret = c("results", "zscore", "ld")
)

Examples

1
2
3
ex <- example_finemap()
out <- finemapr(list(ex$tab1, ex$tab2), list(ex$ld1, ex$ld2), list(ex$n1, ex$n2), args = "--n-causal-max 1")
out <- finemapr(list(ex$tab1, ex$tab2), list(ex$ld1, ex$ld2), list(ex$n1, ex$n2), method = "paintor", args = "-enumerate 1")

variani/finemapr documentation built on Dec. 12, 2020, 9:40 p.m.