Description Usage Arguments Value Examples
create BQM_Array instance given url (filepath) and entity (host) name
1 | BQM_Array(filepath)
|
filepath |
a BQM_Source instance |
an instance of DelayedArray-class
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # 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.