#' @describeIn adjacency Adjacency between genes
#' @export
setMethod("adjacency",
signature(object = "GeneSetCollection"),
function(object) {
adj <- crossprod(incidence(object))
adj[adj != 0] <- 1
adj
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.