BQM_Source: construct a BigQuery resource interface, for a matrix-like...

Description Usage Arguments Value Examples

View source: R/BQM_Array.R

Description

construct a BigQuery resource interface, for a matrix-like table with one column devoted to row identification (rowkeyfield) and all other columns assumed numeric

Usage

1
BQM_Source(bqconn, tblnm, rowkeyfield, maxdfsize = 5e+05)

Arguments

bqconn

instance of BigQueryConnection from bigrquery

tblnm

character(1) table name known to bqconn

rowkeyfield

character(1) field in the table that will

maxdfsize

numeric(1) field in the table that will constrain as.data.frame for determining rownames generate rownames for matrices derived from table

Value

instance of BQM_Source

Examples

1
2
3
4
5
6
7
if (interactive()) {
 con = bqConn(dataset="yriMulti", project=Sys.getenv("CGC_BILLING"),
       billing=Sys.getenv("CGC_BILLING"))
 banoMeth = BQM_Source(con, tblnm="banovichSE_MethylationData",
     rowkeyfield="cg_methyl450")
 banoMeth
}

restfulSE documentation built on Nov. 8, 2020, 8:01 p.m.