ldsc_rg: Bivariate LDSC

ldsc_rgR Documentation

Bivariate LDSC

Description

Imported here to help estimate sample overlap between studies

Usage

ldsc_rg(id1, id2, ancestry = "infer", snpinfo = NULL, splitsize = 20000)

Arguments

id1

ID 1 to analyse

id2

ID 2 to analyse

ancestry

ancestry of traits 1 and 2 (AFR, AMR, EAS, EUR, SAS) or 'infer' (default) in which case it will try to guess based on allele frequencies

snpinfo

Output from ieugwasr::afl2_list("hapmap3"), or NULL for it to be done automatically

splitsize

How many SNPs to extract at one time. Default=20000

Value

model fit


MRCIEU/TwoSampleMR documentation built on Sept. 28, 2024, 6:51 p.m.