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

View source: R/BQM_Array.R

BQM_SourceR Documentation

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

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

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

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
}

vjcitn/restfulSE documentation built on Nov. 1, 2022, 7:33 a.m.