gorr: GOR-R

gorrR Documentation

GOR-R

Description

R library for interfacing with Genuity Science services.

GOR-R functions

The main functions you'll be using are:

  • platform_connect to establish a connection to your Genuity Science APIs, and

  • gor_query to run your queries

Examples

## Not run: 
library(gorr)
# Go to your CSA instance of choice that runs the Query API, e.g.
# https://your-wxnc-instance
# Note the internal names of the projects you have access to
# go to and copy your api_key from: https://your-wxnc-instance/api-key-service/token
# Paste it into the variable below:

api_key <- ""

# Make connection object
conn <- platform_connect(api_key, "your_project")

# Print the connection details
print(conn)

# Run a simple query

results <- gor_query("gor #dbsnp# | top 10000", conn)

print(results)

## End(Not run)

wuxi-nextcode/gorr documentation built on Jan. 1, 2023, 7:54 a.m.