R/print.R

Defines functions print.atlas

Documented in print.atlas

#' Print method for "atlas" class
#'
#' @param x An object of class "atlas"
#' @param ... Other arguments passed to or from other methods
#'
#' @export
print.atlas <- function(x, ...) {
  stopifnot(is_atlas(x))
  cat(x$name, "in", paste0(x$space, ":"), "\n")
  print(utils::head(x$key), ...)
}
mcfreund/mfutils documentation built on Feb. 6, 2022, 4:57 a.m.