R/generator.R

Defines functions print.WGenerator

Documented in print.WGenerator

#' print a WGenerator
#'
#' This calls WGenerator and creates a WGroup to enclose the produced object.
#'
#' @param x a WGenerator object
#' @param ... additional options
#' @return the WGroup containing the plotting object
#' @export
print.WGenerator <- function(x, ...) {
    x <- x(NULL)
    group <- ResolvedWGroup(x)
    print(group)
    return(group)
}
zwdzwd/wheatmap documentation built on March 17, 2022, 10:49 p.m.