Learn R Programming

⚠️There's a newer version (0.6.0) of this package.Take me there.

rsnps (version 0.1.0)

Get SNP (Single-Nucleotide Polymorphism) data on the web.

Description

This package is a programmatic interface to various SNP datasets on the web: openSNP, NBCI's dbSNP database, and Broad Institute SNP Annotation and Proxy Search. This package started as a library to interact with openSNP alone, so most functions deal with openSNP.

Copy Link

Version

Install

install.packages('rsnps')

Monthly Downloads

58

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Scott Chamberlain

Last Published

February 21st, 2014

Functions in rsnps (0.1.0)

phenotypes_byid

Get all known variations and all users sharing that phenotype for one phenotype(-ID).
split_to_df

Split a Vector of Strings Following a Regular Structure
genotypes

Get genotype data for one or multiple users.
rsnpsCache

rsnps environment
users

Get openSNP users.
tryget

Tryget
flip

Flip Genotypes
allphenotypes

Get all phenotypes, their variations, and how many users have data available for a given phenotype.
download_users

Download openSNP user files.
annotations

Get all phenotypes, their variations, and how many users have data available for a given phenotype.
fetch_genotypes

Download genotype data for a user from 23andme or other repo.
read_users

Read in openSNP user files from local storage.
LDSearch

Search for SNPs in Linkage Disequilibrium with a set of SNPs
NCBI_snp_query

Query NCBI's dbSNP for information on a set of SNPs
phenotypes

Get phenotype data for one or multiple users.
swap

Swap Elements in a Vector
allgensnp

Get genotype data for all users at a particular snp.