These methods subset Matrix-like data only keeping rows whose names are in common with some other data.
S4 (MatrixData,logical) `intersect`(x, y) S4 (MatrixData,character) `intersect`(x, y) S4 (MatrixData,MatrixData) `intersect`(x, y) S4 (MatrixData,MarkerList) `intersect`(x, y)
The generic for these methods is taken from the GSEABase package because it is entirely imported by CellMix. However, a more natural definition would be to be able to use the -- currently conflicting -- version defined in the recommended BiocGenerics package.
signature(x = "MatrixData", y =
"logical")
: This method is equivalent to
subset(x, y)
.
signature(x = "MatrixData", y =
"character")
: Subset a matrix-like object by only
keeping the rows whose names are in a given reference
character vector.
signature(x = "MatrixData", y =
"MatrixData")
: Subset a matrix-like object by only
keeping the rows whose names are in common with another
matrix-like data.
This is a shortcut for intersect(x,
featureNames(y), ...)
.
signature(x = "MatrixData", y =
"MarkerList")
: Subset a matrix-like object by only
keeping the features in common with a MarkerList
object. Note that no ID conversion is attempted, meaning
that marker IDs must match exactly feature names used in
the matrix data.
This is a shortcut for intersect(x,
featureNames(y), ...)
.