You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having built the vector indexes on Census embeddings (#694#1113), develop the Python API inside cellxgene_census.experimental to input an AnnData and identify the most-similar Census cells.
This necessitates running a forward pass of the embedding model (starting with scVI) on the given AnnData. In case that causes a lot of complications, we can create an initial demo that searches existing Census cells against the index and break out the forward passes into a separate issue. It might even end up involving a docker image or web service of some sort.
The text was updated successfully, but these errors were encountered:
For now (i) the API assumes the given AnnData will include a layer with suitable embeddings and (ii) we'll informally provide a notebook/docker showing how to do the forward pass to add them. To be revisited in H2.
Adds two new functions to `cellxgene_census.experimental`:
1. `find_nearest_obs` uses TileDB-Vector-Search indexes of Census embeddings to find nearest neighbors of given embedding vectors (in an AnnData obsm layer). #1114
2. `predict_obs_metadata` uses the nearest neighbors to predict metadata attributes like cell_type and tissue_general for the query cells. Naive implementation is just a starting point to start experimenting with. #1115
Having built the vector indexes on Census embeddings (#694 #1113), develop the Python API inside
cellxgene_census.experimental
to input an AnnData and identify the most-similar Census cells.This necessitates running a forward pass of the embedding model (starting with scVI) on the given AnnData. In case that causes a lot of complications, we can create an initial demo that searches existing Census cells against the index and break out the forward passes into a separate issue. It might even end up involving a docker image or web service of some sort.
The text was updated successfully, but these errors were encountered: