Nothing
#' Display the Summary of a \code{pathwayCollection}-class Object.
#'
#' @description The display method for pathways lists as returned by the
#' \code{\link{read_gmt}} function.
#'
#' @param x An object of class \code{pathwayCollection}.
#' @param ... Lazy dots for additional internal arguments (currently unused).
#'
#' @return \code{x}, returned invisibly (with the \code{\link{invisible}}
#' function).
#'
#' @details This function sets a \code{print} method for
#' \code{pathwayCollection} objects.
#'
#' @export
#'
#' @seealso \code{\link{read_gmt}}; \code{\link{write_gmt}}
#'
#' @keywords internal
#'
#' @importFrom utils str
#'
#' @examples
#' ### Load the Example Data ###
#' data("colon_pathwayCollection")
#'
#' ### Print / Show ###
#' colon_pathwayCollection
#'
print.pathwayCollection <- function(x, ...){
classes_char <- class(x)
cat("Object with Class(es) '",
paste(classes_char, collapse = "', '"),
"' [package 'pathwayPCA'] with ",
length(x), " elements: \n",
sep = "")
str(x,
max.level = 1,
vec.len = 1,
give.attr = FALSE,
no.list = TRUE)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.