gorr | R Documentation |
R library for interfacing with Genuity Science services.
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
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.