#' @describeIn nGenes Number of different genes
#' @export
setMethod("nGenes",
signature(object = "GeneSetCollection"),
function(object) {
nUnique(unlist(geneIds(object), use.names = FALSE))
}
)
#' @describeIn nPathways Number of GeneSets
#' @export
setMethod("nPathways",
signature(object = "GeneSetCollection"),
function(object) {
length(object)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.