Nothing
##' show method for `GSON` instance
##'
##' @name show
##' @docType methods
##' @rdname show-methods
##'
##' @title show method
##' @param object A `GSON` object
##' @return message
##' @importFrom methods show
##' @exportMethod show
##' @usage show(object)
##' @author Guangchuang Yu \url{https://yulab-smu.top}
setMethod("show", signature(object="GSON"),
function (object){
print.GSON(object)
}
)
##' @method print GSON
##' @export
print.GSON <- function(x, ...) {
ngs <- length(unique(x@gsid2gene$gsid))
ng <- length(unique(x@gsid2gene$gene))
cat(
">> Gene Set: ", x@gsname, "\n",
">> ",ng, " genes annotated by ", ngs, " gene sets.\n",
">> Species: ", x@species, "\n",
">> Version: ", x@version, "\n",
sep ="")
}
##' @method print GSONList
##' @export
print.GSONList <- function(x, ...) {
cat(
">> a list of", length(x), "GSON objects.\n"
)
}
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.