R/v1-glTable.R

Defines functions glTable

Documented in glTable

#' Glimma Table
#'
#' Create a table using the data from a chart.
#'
#' @param target the index of the plot from which data is drawn.
#' @param columns the columns of data to plot.
#'
#' @return a input object containing the input field information.
#'
#' @keywords internal

glTable <- function(target, columns) {
    out <- list()
    out$input <- data.frame(target=target)
    out$columns <- columns
    out$type <- "data.table"
    class(out) <- "jstable"

    return(out)
}

Try the Glimma package in your browser

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

Glimma documentation built on Nov. 8, 2020, 6:13 p.m.