Reads the obs table, applies a filter expression via subset(),
and returns matching row indices.
Arguments
- path
Path to a
.spzfile.- ...
Filter expressions passed to
subset()on the obs table.
Examples
if (FALSE) { # \dontrun{
idx <- st_obs_indices("data.spz", cell_type == "B cell")
length(idx)
} # }