Skip to contents

Reads the obs table, applies a filter expression via subset(), and returns matching row indices.

Usage

st_obs_indices(path, ...)

Arguments

path

Path to a .spz file.

...

Filter expressions passed to subset() on the obs table.

Value

Integer vector of matching row indices (1-based).

Examples

if (FALSE) { # \dontrun{
idx <- st_obs_indices("data.spz", cell_type == "B cell")
length(idx)
} # }