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)
}
griffithlab/GenVisR documentation built on May 14, 2024, 12:40 a.m.