R/genCov_extr_ggplotGrob_width.R

Defines functions genCov_extr_ggplotGrob_width

#' extract ggplotGrob width
#'
#' extract plot width of ggplotGrob object
#' @name genCov_extr_ggplotGrob_width
#' @param x ggplotGrob object
#' @return ggplotGrob width parameters
#' @noRd

genCov_extr_ggplotGrob_width <- function(x)
{
  # Extract ggplotGrob width
    x <- x$widths[2:5,]
    return(x)
}

Try the GenVisR package in your browser

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

GenVisR documentation built on Dec. 28, 2020, 2 a.m.