merge_coloc_summaries: Merge coloc summaries

View source: R/coloc_general_functions.R

merge_coloc_summariesR Documentation

Merge coloc summaries

Description

Merges the raw annotated coloc results into a summary dataframe.

Usage

merge_coloc_summaries(
  results_folder_path,
  add_signif_SNP = F,
  recursive = F,
  pattern = NULL
)

Arguments

results_folder_path

chr. Path to the folder where the results are stored

add_signif_SNP

lgl. Determines whether to add the details of the most signif SNPs to the summary. Default is FALSE.

recursive

lgl. Argument used in list.files, which determines whether to recursively look for results in every other folder within the results_folder_path. Default is FALSE.

pattern

lgl. Argument used in list.files, which specifies a pattern to match for the results (e.g. "\.rda"). Default is NULL.

Value

The dataframe with the summaries merged.


RHReynolds/colochelpR documentation built on June 18, 2022, 5:53 a.m.