NOTE: This man page is for the union
, intersect
and
setdiff
S4 generic functions defined in the BiocGenerics
package.
See ?base::union
for the default methods
(defined in the base package).
Bioconductor packages can define specific methods for objects
(typically vector-like) not supported by the default methods.
union(x, y, ...)
intersect(x, y, ...)
setdiff(x, y, ...)
?base::union
for the value returned by the
default methods.Specific methods defined in Bioconductor packages will typically
return an object of the same class as the input objects.
base::union
for the default union
,
intersect
, and setdiff
methods.
showMethods
for displaying a summary of the
methods defined for a given generic function.
selectMethod
for getting the definition of
a specific method.
union
method (defined for GRanges objects).
union
showMethods("union")
selectMethod("union", c("ANY", "ANY")) # the default method
intersect
showMethods("intersect")
selectMethod("intersect", c("ANY", "ANY")) # the default method
setdiff
showMethods("setdiff")
selectMethod("setdiff", c("ANY", "ANY")) # the default method
Run the code above in your browser using DataLab