How causalInferencePipeline runs MR from a
tuple's topLoci table.
Usage
MrParam(
method = c("ivwPerVariant", "csAware"),
pipCutoff = 0.5,
cpipCutoff = 0.5,
pvalCutoff = 1
)Arguments
- method
"ivwPerVariant"(default) filterstopLocivariants bypip > pipCutoffand IVW-pools their Wald ratios."csAware"groups variants by credible set and computes a PIP-weighted composite Wald ratio per set, usingcpipCutoff.- pipCutoff
Numeric. PIP threshold for a variant to be used as an instrument. Default
0.5. Used only by"ivwPerVariant".- cpipCutoff
Numeric. Cumulative-PIP cutoff for retaining a credible set. Default
0.5. Used only by"csAware".- pvalCutoff
Numeric. MR runs for a
(qtl tuple, gwas)pair only when itstwasPvalis below this; otherwise the MR columns areNA. Default1(no gate).
Value
A MrParam object, a MethodParam.