ld_matrix_local: Get LD matrix using local plink binary and reference dataset

View source: R/ld_matrix.R

ld_matrix_localR Documentation

Get LD matrix using local plink binary and reference dataset

Description

Get LD matrix using local plink binary and reference dataset

Usage

ld_matrix_local(variants, bfile, plink_bin, with_alleles = TRUE)

Arguments

variants

List of variants (rsids)

bfile

Path to bed/bim/fam ld reference panel

plink_bin

Specify path to plink binary. Default = NULL. See https://github.com/explodecomputer/plinkbinr for convenient access to plink binaries

with_alleles

Whether to append the allele names to the SNP names. Default: TRUE

Value

data frame


ieugwasr documentation built on July 2, 2024, 1:06 a.m.