Base [ on a matrix drops attributes other than dim / dimnames.
Use subset_catalog() when you want to keep the catalog's type /
ref_genome / region / abundance metadata through a subset operation.
Arguments
- x
A catalog.
- rows, cols
Numeric, logical, or character indices (see base::Extract). If
NULL, all rows / columns are kept.