run_caviar: Run CAVIAR.

Description Usage Examples

View source: R/caviar.R

Description

Output file ('*_post'): column #1 is the variant name; column #2 is the posterior prob. that the variant is causal (https://github.com/fhormoz/caviar/issues/1#issuecomment-286521771); column #3 is the amount that this variant contributes to 95

Usage

1
2
3
4
5
6
7
run_caviar(
  tab,
  ld,
  dir_run = "run_caviar",
  tool = getOption("finemapr_caviar"),
  args = ""
)

Examples

1
2
3
ex <- example_finemap()
out <- run_caviar(ex$tab1, ex$ld1, args = "-c 2")
out <- run_caviar(ex$tab1, ex$ld1, args = "-c 0")

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