rsnps
used to be ropensnp
This set of functions/package accesses data from:
allgensnp()
, allphenotypes()
, annotations()
, download_users()
, fetch_genotypes()
, genotypes()
, phenotypes()
, phenotypes_byid()
, users()
ncbi_snp_query()
ncbi_snp_query2()
ncbi_snp_summary()
Install from CRAN
Or dev version
#> Query Chromosome Marker Class Gene Alleles Major Minor
#> 1 rs332 7 rs121909001 in-del CFTR -/TTT <NA> <NA>
#> 2 rs420358 1 rs420358 snp CFTR A,G,T A G
#> 3 rs1837253 5 rs1837253 snp CFTR C/T C T
#> 4 rs1209415715 9 rs1209415715 snp CFTR C,T C T
#> MAF BP AncestralAllele
#> 1 NA 117559593 <NA>
#> 2 NA 117559593 T,T,T,T,T,T
#> 3 0.3822 117559593 T,T,T,T,T,T
#> 4 NA 117559593 <NA>
genotypes()
function
#> snp_name snp_chromosome snp_position user_name user_id
#> 1 rs9939609 16 53786615 Bastian Greshake Tzovaras 1
#> 2 rs9939609 16 53786615 Nash Parovoz 6
#> 3 rs9939609 16 53786615 Samantha B. Clark 8
#> genotype_id genotype
#> 1 9 AT
#> 2 5 AT
#> 3 2 TT
phenotypes()
function
#> $phenotype_id
#> [1] 16
#>
#> $variation
#> [1] "straight"
rsnsps
in R doing citation(package = 'rsnps')