make_ld_matrix: Helper function to pull LD data from NCBI.

make_ld_matrixR Documentation

Helper function to pull LD data from NCBI.

Description

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

Usage

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

## Not run: make_ld_matrix(all_snps, ld_data)

dcalderon/rolypoly documentation built on July 3, 2022, 1:59 p.m.