Description Usage Arguments Value Examples
use LDmat API from NCI LDlink service
1 2 | ldmat(rsvec, pop = "CEU", type = "d",
token = Sys.getenv("LDLINK_TOKEN"))
|
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 |
data.frame
1 | if (interactive()) ldmat(c("rs77749396","rs9303279","rs9303280","rs9303281"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.