Learn R Programming

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

rsnps (version 0.0.5)

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.0.5

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Scott Chamberlain

Last Published

November 13th, 2013

Functions in rsnps (0.0.5)

download_users

Download openSNP user files.
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
tryget

Tryget
genotypes

Get genotype data for one or multiple users.
allgensnp

Get genotype data for all users at a particular snp.
users

Get openSNP users.
LDSearch

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

Flip Genotypes
allphenotypes

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

Swap Elements in a Vector
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.
NCBI_snp_query

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

Get phenotype data for one or multiple users.
read_users

Read in openSNP user files from local storage.
rsnpsCache

rsnps environment