Create a coloc_result object
new_coloc_result.RdCreate a coloc_result object
Usage
new_coloc_result(
coloc_abf = NULL,
coloc_susie = NULL,
coloc_signals = NULL,
coloc_prop_test = NULL,
n_snps = 0L,
harmonised_data = data.frame(),
methods_skipped = character(),
params = list(),
status = "success",
status_reason = NULL,
timing = numeric(0)
)Arguments
- coloc_abf
Output of
coloc::coloc.abf(), orNULL.- coloc_susie
Output of
coloc::coloc.susie(), orNULL.- coloc_signals
Output of
coloc::coloc.signals(), orNULL.- coloc_prop_test
Output of
colocPropTest::coloc.prop.test(), orNULL.- n_snps
Integer. Number of SNPs used in the analysis.
- harmonised_data
Data frame of harmonised data used for analysis.
- methods_skipped
Named character vector: names are method names, values are reasons for skipping.
- params
List of all input parameters to
run_coloc().- status
Character. One of
"success","no_snps_in_region","too_few_snps","no_harmonised_variants". Default"success".- status_reason
Character or
NULL. Human-readable explanation whenstatus != "success".- timing
Named numeric vector of elapsed times (seconds) for each major step inside
run_coloc(). Empty by default.