mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-11 02:30:56 +08:00
Add backend endpoint
This commit is contained in:
@@ -274,6 +274,9 @@ class AnndataAdaptor(DataAdaptor):
|
||||
df = df[fields]
|
||||
return encode_matrix_fbs(df, col_idx=df.columns)
|
||||
|
||||
def get_spatial(self):
|
||||
return self.data.uns["spatial"]
|
||||
|
||||
def get_embedding_names(self):
|
||||
"""
|
||||
Return pre-computed embeddings.
|
||||
|
||||
Reference in New Issue
Block a user