Imported here to help estimate sample overlap between studies

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

## Arguments

id1 ID 1 to analyse ID 2 to analyse 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 Output from ieugwasr::afl2_list("hapmap3"), or NULL for it to be done automatically How many SNPs to extract at one time. Default=20000

model fit