Skip to contents

Check if input gene lists overlap

Usage

check_gene_list_overlap(gene.lists)

Arguments

gene.lists

A list of gene lists. example: list(c("gene1", "gene2"), c("gene1"))

Value

Warning if gene sets overlap

Examples

# Overlap
check_gene_list_overlap(list(c("gene1", "gene2"), c("gene1")))
#> Warning: Gene lists overlap!

#No overlap
check_gene_list_overlap(list(c("gene1", "gene2"), c("gene3")))