Nothing
#' Check if input gene lists overlap
#'
#' @param gene.lists A list of gene lists.
#' example: list(c("gene1", "gene2"), c("gene1"))
#'
#' @return Warning if gene sets overlap
#' @export
#'
#' @examples
#' # Overlap
#' check_gene_list_overlap(list(c("gene1", "gene2"), c("gene1")))
#'
#' #No overlap
#' check_gene_list_overlap(list(c("gene1", "gene2"), c("gene3")))
check_gene_list_overlap <- function(gene.lists){
if (any(duplicated(unlist(gene.lists)))){
warning("Gene lists overlap!")
}
}
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.