
NOTE: This man page is for the subset
S4 generic function
defined in the BiocGenerics package.
See ?base::subset
for the subset
S3 generic
defined in the base package.
subset(x, ...)
subset
, select
, drop
),
for use in specific methods. See ?base::subset
for
more information.
x
containing just the selected elements (for a
vector-like object), or the selected rows and columns (for a matrix-like or
data-frame-like object).
base::subset
in the base package
for the subset
S3 generic.
showMethods
for displaying a summary of the
methods defined for a given generic function.
selectMethod
for getting the definition of
a specific method.
subset
method (defined
for DataTable objects).
subset
showMethods("subset")
selectMethod("subset", "ANY") # the default method
library(S4Vectors)
showMethods("subset")
selectMethod("subset", "DataTable") # the "subset" method for
# DataTable objects
Run the code above in your browser using DataLab