R/methods.R

Defines functions print.enrichment_options

Documented in print.enrichment_options

#' @export
print.enrichment_options <- function(x, ...) {
    o_length <- length(x$option)
    for (o in seq.int(o_length)) {
        cat('-------\n')
        cat('Option:', x$option[o], "\n")
        cat('Description:', x$description[o], "\n")
        mat <- data.frame(component = x$component[[o]], compute_function = x$compute_function[[o]])
        print(mat)
    }
}

Try the enrichwith package in your browser

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

enrichwith documentation built on Jan. 11, 2020, 9:21 a.m.