R/gg_size.R

Defines functions gg_size

Documented in gg_size

#' Corrects size to points in ggplots
#'
#' @param size size for geom_objects
#'
#' @return
#' @export
#'
#' 
gg_size <- function(size) {
  
   return(size / (ggplot2::.pt * 72.27 / 96))
  
}
nicohuttmann/pOmics documentation built on Sept. 21, 2022, 9:28 a.m.