make_ld_matrix: Helper function to pull LD data from NCBI.

Description Usage Arguments Value Examples

Description

Given the path of a gwas file open it into a data.table object

Usage

1
make_ld_matrix(all_snps, ld_data)

Arguments

all_snps

The snps that were queried

ld_data

A returned LD matrix with SNP, Proxy, and RSquared columns

Value

an LD matrix where query snps will be the first columns in the correct order

Examples

1
## Not run: make_ld_matrix(all_snps, ld_data)

rolypoly documentation built on May 2, 2019, 2:47 p.m.