cgcConn | R Documentation |
Simplify connection to a BigQuery dataset for the project "isb-cgc"
cgcConn(dataset = "TCGA_bioclin_v0", project = "isb-cgc", billing = Sys.getenv("CGC_BILLING"))
dataset |
character string with dataset name |
project |
character string with project name |
billing |
character(1) with billing code |
instance of BigQueryConnection-class
This function operates on a BigQuery project to select a
dataset and return a connection. If the google billing code is
assigned to environment variable CGC_BILLING
, that
will be used to authenticate the user and collect charges.
Alternately the billing code can be given as a parameter.
if (interactive()) { cgcConn require(bigrquery) # defaults concern new GDC-compliant format if (nchar(Sys.getenv("CGC_BILLING"))>0) { clin = cgcConn() dbListTables(clin) } }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.