API Reference
Description of functions and the classes on which they are built
Functions
Functional wrappers of the classes below. These are the main tools of the API.
adata_query.fetch
data = fetch(
adata: anndata.AnnData,
key: str,
groupby: Optional[str] = None,
torch: bool = False,
device: torch.device = autodevice.AutoDevice(),
*args,
**kwargs,
)
adata_query.format_data
data = format_data(
data: Union[np.ndarray, torch.Tensor],
torch: bool = False,
device: torch.device = autodevice.AutoDevice(),
*args,
**kwargs,
)
adata_query.locate
attr_key = adata_query.locate(adata: anndata.AnnData, key: str)
Expand each function for a quick view. Click on the function titles for full documentation.
Classes
Everything related to the operational classes:
AnnDataFetcherDataFormatterAnnDataLocator