R/genCov_extr_ggplotGrob_height.R

Defines functions genCov_extr_ggplotGrob_height

#' extract ggplotGrob height
#'
#' extract plot height of ggplotGrob object
#' @name genCov_extr_ggplotGrob_height
#' @param x ggplotGrob object
#' @return ggplotGrob height parameters
#' @noRd

genCov_extr_ggplotGrob_height <- function(x)
{
  # Extract ggplotGrob height
    x <- x$heights[2:5,]
    return(x)
}
griffithlab/GenVisR documentation built on May 14, 2024, 12:40 a.m.