ldmat: use LDmat API from NCI LDlink service

Description Usage Arguments Value Examples

View source: R/ldlink.R

Description

use LDmat API from NCI LDlink service

Usage

1
ldmat(rsvec, pop = "CEU", type = "d", token = Sys.getenv("LDLINK_TOKEN"))

Arguments

rsvec

character vector of SNP ids

pop

three letter code for HapMap population, defaults to CEU

type

'r2' or 'd', defaults to 'd' implying d-prime

token

the API token provided by NCI, defaults to value of environment variable LDLINK_TOKEN

Value

data.frame

Examples

1
if (interactive()) ldmat(c("rs77749396","rs9303279","rs9303280","rs9303281"))

ldblock documentation built on Nov. 8, 2020, 5:33 p.m.