combine_results: Combine MR and coloc results into one data.frame

View source: R/reporting.r

combine_resultsR Documentation

Combine MR and coloc results into one data.frame

Description

Combine MR and coloc results into one data.frame

Usage

combine_results(
  mr_res,
  coloc_res,
  mr_res.by = c("id.exposure", "id.outcome"),
  coloc_res.by = c("file.exposure", "file.outcome")
)

Arguments

mr_res

A data.frame of MR results from 'do_mr()'

coloc_res

A data.frame of coloc results from 'do_coloc()'

mr_res.by

MR columns to use for merging

coloc_res.by

Coloc columns to use for merging

Value

Data.frame of merged results


jwr-git/mrpipeline documentation built on Oct. 2, 2022, 3:41 p.m.