Index obs
/var
soma_joinids for a given query result.
Retrieve the index of the given obs
or var
coordinates in the query
result. Coordinates outside of the query result will return
arrow::null()
.
Methods
Method new()
Create a new SOMAAxisIndexer
object.
Usage
SOMAAxisIndexer$new(query)
Arguments
query
The
SOMAExperimentAxisQuery
object to build indices for.
Method by_obs()
Get the index of the given obs
coordinates.
Arguments
coords
vector or
arrow::Array
of numeric coordinates.
Method by_var()
Get the index of the given var
coordinates.
Arguments
coords
vector or
arrow::Array
of numeric coordinates.