Man pages for jwr-git/mrpipeline
Implements a Ready-for-Use Mendelian Randomisation Pipeline

annotate_dataAnnotates the data using given IDs
annotate_efoAnnotate diseases with EFO IDs
annotate_ensgAnnotate ENSG IDs with gene names
calc_f_statCalculate F-statistic
check_snpsCheck if SNPs are good for use in analyses and mark them as...
cis_transAnnotate cis/trans SNPs
combine_resultsCombine MR and coloc results into one data.frame
dat_to_gwasvcfConvert data.frame to gwasvcf format.
do_colocRun colocalisation analyses
do_mrRun Mendelian randomisation analyses
dot-calc_pveCalculate PVE
dot-cdat_from_mixedHelper function to extract colocalisation regions for when...
dot-chunkSplits vector into chunks
dot-coloc_subSub-function for the colocalisation analyses
dot-coloc_susie_subSub function to run SuSiE and coloc
dot-dgidb_linkageLink ENSG IDs with DGIdb
dot-ensg_to_nameConvert ENSG IDs -> gene names
dot-gwasvcf_to_coloc_rsidPrepare gwasvcf files for coloc. This method will extract...
dot-gwasvcf_to_pwcocoPrepare gwasvcf files for PWCoCo
dot-ieugwasr_to_pwcocoPrepare ieugwasr data for PWCoCo
dot-ivw_deltaIVW weighted delta
dot-print_msgHelper function for message printing.
dot-pwcoco_subSub-function to run PWCoCo
dot-read_datasetRead datasets
dot-wr_taylor_approxWR Taylor Approx of SE
drug_target_evidenceGenerate drug target evidence
extract_matched_regionsExtract SNPs based on region for colocalisation analyses. Can...
file_to_gwasvcfConvert file(s) to gwasvcf format.
forest_plotForest plot
get_col_nameGet column names from agnostic but formatted data.frame
harmoniseHarmonise exposure and outcomes.
helloHello, World!
is_ambiguousCheck if SNP frequencies are ambiguous
is_palindromicCheck if SNP is palindromic
mr_pipelineEntry point for the pipeline.
pairwise_analysisPerforms pairwise harmonisation and analyses - helpful when...
read_exposureRead exposures
read_outcomeRead outcomes
reexportsObjects exported from other packages
regional_plotPlots a regional plot of the area being tested for...
validate_configValidates parameters in config file
volcano_plotVolcano plot
z_comparison_plotZ score comparison plot
z_plotZ plot
jwr-git/mrpipeline documentation built on Oct. 2, 2022, 3:41 p.m.