phenoscanner allows users to query the PhenoScanner database of genotype-phenotype associations from inside R.
# SNP res <- phenoscanner(snpquery="rs10840293") head(res$results) res$snps
# Gene res <- phenoscanner(genequery="SWAP70") head(res$results) res$genes
# Region res <- phenoscanner(regionquery="chr11:9685624-9774538") head(res$results) res$regions
# To query multiple SNPs, genes or regions, please supply a vector of SNPs, genes or regions to snpquery, genequery or regionquery options, respectively. For example, to query multiple SNPs: res <- phenoscanner(snpquery=c("rs10840293","rs10")) head(res$results) res$snps
Please abide by the terms of use of PhenoScanner when using this R package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.