ldmat {ldblock} | R Documentation

## use LDmat API from NCI LDlink service

### Description

use LDmat API from NCI LDlink service

### Usage

    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

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

[Package ldblock version 1.17.1 Index]