R/get_info_data.R

Defines functions get_info_data

Documented in get_info_data

#' Returns .info data
#'
#' @param name name of .info data
#'
#' @return
#' @export
#'
#'
get_info_data <- function(name) {
  
  # check if exists
  if (is_info_data(name)) {
    return(.info[[name]])
  } else {
    stop("Does not exist.")
  }
  
}
nicohuttmann/pOmics documentation built on Sept. 21, 2022, 9:28 a.m.