Find the (asymmetric) difference between two collections of objects
setdiff(x, y, ...) # S3 method for default setdiff(x, y, ...) # S3 method for neuronlist setdiff(x, y, ...)
the first collection to consider.
the second collection to consider.
additional arguments passed to methods
A collection of the same mode as
x that contains all elements
x that are not present in
Note that setdiff.default calls base::setdiff to ensure consistent behaviour for regular vectors.
As a convenience
y, the second
collection, to be a character vector of names.