R/systemCodeExists.R

Defines functions systemCodeExists

Documented in systemCodeExists

systemCodeExists <- function(code = NA) {
    exists <- NULL
    if (!is.na(code)) {
        exists <- .jcall(
            "org/bridgedb/DataSource",
            "Z",
            "systemCodeExists", code
        )
    } else {
        stop("You must provide a system code")
    }
    exists
}
egonw/BridgeDbR documentation built on Sept. 18, 2023, 8:14 p.m.