Determines which elements of a vector-like or data-frame-like object are duplicates of elements with smaller subscripts, and returns a logical vector indicating which elements (rows) are duplicates.
NOTE: This man page is for the
S4 generic functions defined in the BiocGenerics package.
?base::duplicated for the default methods
(defined in the base package).
Bioconductor packages can define specific methods for objects
(typically vector-like or data-frame-like) not supported by the
A vector-like or data-frame-like object.
duplicated method (see
?base::duplicated) returns a logical vector
of length N where N is:
x is a vector;
x is a data frame.
duplicated methods defined in Bioconductor
packages must also return a logical vector of the same length
x is a vector-like object, and a logical
vector with one element for each row when
x is a
anyDuplicated method (see
?base::duplicated) returns a single
non-negative integer and so must the specific
methods defined in Bioconductor packages.
anyDuplicated should always behave consistently with
base::duplicated for the default
showMethods for displaying a summary of the
methods defined for a given generic function.
selectMethod for getting the definition of
a specific method.
duplicated,Rle-method in the S4Vectors
package for an example of a specific
(defined for Rle objects).
BiocGenerics for a summary of all the generics defined in the BiocGenerics package.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.