haploR-LDlink.LDmatrix: This function queries HaploReg web-based tool and returns...

Description Usage Arguments Value Examples

Description

This function queries HaploReg web-based tool and returns results.

Usage

1
LDlink.LDmatrix(snps, population = "ALL")

Arguments

snps

A list of snps (a vector of rsIDs, or a file, one SNP per line).

population

A particular genetic population. Default: ALL.

Value

A list of three:
(1) raw LD r2 matrix;
(3) raw LD D-prime matrix

Examples

1
2
3
library(haploR)
data <- LDlink.LDmatrix(c("rs10048158","rs4791078"))
head(data)

haploR documentation built on Jan. 19, 2019, 5:08 p.m.