Skip to content

USCbiostats/AnnoQR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnnoQ GraphQL API Query Functions

This package provides functions to query the AnnoQ GraphQL API for SNP annotations.

Installation

You can install the package directly from GitHub using the devtools package:

install.packages("devtools")
devtools::install_github("quemeb/AnnoQR")

Usage

Load the package and use the provided functions to perform queries.

library(AnnoQR)

# Define the annotations to retrieve
annotations_to_retrieve <- c("chr", "pos", "ref", "alt")

# Perform a region query
snps <- regionQuery("18", 1, 50000, annotations_to_retrieve)
head(snps)

# Perform an rsID query
snp <- rsidQuery("rs559687999", annotations_to_retrieve)
print(snp)

# Perform a multiple rsIDs query
snps <- rsidsQuery(c("rs115366554", "rs189126619"), annotations_to_retrieve)
print(snps)

About

R client wrap for AnnoQ API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages