harmonise_ld_dat: Harmonise LD matrix against summary data

View source: R/other_formats.R

harmonise_ld_datR Documentation

Harmonise LD matrix against summary data

Description

LD matrix returns with rsid_ea_oa identifiers. Make sure that they are oriented to the same effect allele as the summary dataset. Summary dataset can be exposure dataset or harmonised dartaset.

Usage

harmonise_ld_dat(x, ld)

Arguments

x

Exposure dataset or harmonised dataset

ld

Output from ld_matrix()

Value

List of exposure dataset and harmonised LD matrix


MRCIEU/TwoSampleMR documentation built on March 26, 2024, 6:11 a.m.