Subset object to keep only non-zero rows and columns
Source:R/AllGenerics.R
, R/nonzeroRowsAndCols-methods.R
nonzeroRowsAndCols.Rd
Subset object to keep only non-zero rows and columns
Usage
nonzeroRowsAndCols(object, ...)
# S4 method for Matrix
nonzeroRowsAndCols(object, quiet = FALSE)
# S4 method for SummarizedExperiment
nonzeroRowsAndCols(object, assay = 1L, quiet = FALSE)
# S4 method for matrix
nonzeroRowsAndCols(object, quiet = FALSE)
Arguments
- object
Object.
- quiet
logical(1)
. Perform command quietly, suppressing messages.- assay
vector(1)
. Assay name or index position.- ...
Additional arguments.