overlap can be used to examine the overlap between groups before the union is created

overlap(x, y)

Arguments

x

object of class groups, snppicker or tags

y

object of same class as x

Value

object of class groups