get_summary
Retrieve a summary of an AnnData object from a .h5ad or .zarr file using its absolute path or URL.
Instructions
Get a summary of an AnnData object from a file or URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path or URL to the AnnData file (.h5ad or .zarr) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Any error message | |
| n_obs | No | The number of observations (cells) in the AnnData object | |
| X_type | No | The type and dtype of the X attribute | |
| layers | No | The layers of the AnnData object (always arrays), all with shape (n_obs, n_vars) | |
| n_vars | No | The number of variables (genes) in the AnnData object | |
| has_raw | No | Whether the AnnData object has a raw attribute | |
| uns_keys | No | The keys of the uns attribute and their types and shapes (if available, otherwise 'NA') | |
| obsm_keys | No | The keys of the obsm attribute and their types and shapes | |
| obsp_keys | No | The keys of the obsp attribute and their types, all with shape (n_obs, n_obs) | |
| varm_keys | No | The keys of the varm attribute and their types and shapes | |
| varp_keys | No | The keys of the varp attribute and their types, all with shape (n_vars, n_vars) | |
| obs_columns | No | The columns of the obs dataframe and their dtypes | |
| var_columns | No | The columns of the var dataframe and their dtypes | |
| last_modified | No | The last modified time of the AnnData file in UTC, or None for URLs |