Clump MR object exposure
clump_mr.RdClump MR object exposure
Usage
clump_mr(
  x,
  p1 = 1,
  p2 = 1,
  r2 = 0.001,
  kb = 250,
  plink2 = genepi.utils::which_plink2(),
  plink_ref = genepi.utils::which_1000G_reference(build = "GRCh37"),
  parallel_cores = parallel::detectCores()
)Arguments
- x
 an object of class MR description
- p1
 a numeric, the p-value threshold for inclusion as a clump
- p2
 a numeric, the p-value threshold for incorporation into a clump
- r2
 a numeric, the r2 value
- kb
 a integer, the window for clumping
- plink2
 a string, path to the plink executable
- plink_ref
 a string, path to the pfile genome reference
- parallel_cores
 an integer, how many cores / threads to use