R/show-methods.R

setMethod("show", signature(object="BiocView"),
          function(object) {
              cat("Bioconductor View:", object@name, "\n")
              cat("Parent Views:\n")
              print(object@parentViews)
              cat("Subviews:\n")
              print(object@subViews)
              cat("Contains packages:\n")
              if (length(object@packageList))
                print(names(object@packageList))
              else
                cat("<no packages>\n")

          })
Bioconductor/biocViews documentation built on May 4, 2024, 4:49 p.m.