get_ld: Get LD matrix for a specified region from bfile reference...

View source: R/ld.r

get_ldR Documentation

Get LD matrix for a specified region from bfile reference panel

Description

Get LD matrix for a specified region from bfile reference panel

Usage

get_ld(
  chr,
  from,
  to,
  bfile,
  plink_bin = genetics.binaRies::get_plink_binary(),
  nref = NULL
)

Arguments

chr

Chromosome

from

from bp

to

to bp

bfile

LD reference panel

plink_bin

Plink binary default=genetics.binaRies::get_plink_binary()

nref

Sample size of reference panel

Value

List of LD matrix and map info including MAF


explodecomputer/simulateGP documentation built on April 3, 2024, 2:38 a.m.