Function to create a LDmatrix gwasglue2 object and set the @slot ld_matrix u
Usage
harmonise_ld(dataset, bfile = NULL, plink_bin = NULL)
Arguments
- dataset
The DataSet gwasglue2 object
- bfile
It corresponds to the path and prefix of the plink files used to build the LD correlation matrix.
- plink_bin
Path to the plink executable
Value
The DataSet gwasglue2 object harmonised