First, objects are converted to class groups. Then any groups which overlap are identified, and replaced by their union. Groups which do not overlap are unchanged. The combined set of groups is returned.

union(x, y)

# S4 method for snppicker,snppicker
union(x, y)

# S4 method for tags,tags
union(x, y)

# S4 method for groups,groups
union(x, y)

Arguments

x

object of class groups, snppicker or tags

y

object of same class as x

Value

object of class groups