Defines functions registerDataSource

Documented in registerDataSource

registerDataSource <- function(code=NA,name=NA){
  datasource = NULL
  if (is.na(name) || is.na(code)) {
    stop("You must provide both a name or a system code")
  } else {
    builder <- .jcall(
     "register", code, name
    datasource <- builder$asDataSource()

Try the BridgeDbR package in your browser

Any scripts or data that you put into this service are public.

BridgeDbR documentation built on May 2, 2018, 4:48 a.m.