Learn R Programming

rsnps (version 0.2.0)

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

Description

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

Usage

NCBI_snp_query2(SNPs, ...)

ncbi_snp_query2(SNPs, ...)

Arguments

SNPs

A vector of SNPs (rs numbers).

...

Further named parameters passed on to config to debug curl.

See Also

ncbi_snp_query

Examples

Run this code
# NOT RUN {
SNPs <- c("rs332", "rs420358", "rs1837253", "rs1209415715", "rs111068718")
ncbi_snp_query2(SNPs)
# ncbi_snp_query2("123456") ## invalid: must prefix with 'rs'
ncbi_snp_query2("rs420358")
ncbi_snp_query2("rs332") # warning, merged into new one
ncbi_snp_query2("rs121909001") 
ncbi_snp_query2("rs1837253")
ncbi_snp_query2("rs1209415715") # no data available
ncbi_snp_query2("rs111068718") # chromosomal information may be unmapped
# }

Run the code above in your browser using DataLab