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)
x | object of class |
---|---|
y | object of same class as x |
object of class groups