| BQM_Array | R Documentation |
create BQM_Array instance given url (filepath) and entity (host) name
BQM_Array(filepath)
filepath |
a BQM_Source instance |
an instance of DelayedArray-class
# authentication issues may arise. if you are authorized
# to use bigquery with GPC project isb-cgc, a token may
# be generated through the following
# options(httr_oob_default=TRUE)
# example(BQM_Source)
# a browser authentication event may occur, or if you are in
# a browserless session, a URL will be emitted, possibly in
# the context of warnings ... browse to this URL and an
# authentication event will occur, and a token will be provided
# this can be provided back to the R session to allow the
# query to proceed
#
if (interactive()) {
con = bqConn(dataset="yriMulti", project=Sys.getenv("CGC_BILLING"),
billing=Sys.getenv("CGC_BILLING"))
ss = BQM_Source(con, "banovichSE_methylationData", "cg_Methyl450")
#BQM_Array(ss)
BQM_Array(ss)["cg00000029",c("NA18498", "NA18499", "NA18501"),drop=FALSE]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.