The tiledbsoma.io module¶
Functions¶
Data conversion to/from TileDB-SOMA
Reads an |
|
Writes an AnnData object to an |
|
Converts the experiment group to AnnData format and writes it to the specified |
|
Converts the experiment group to AnnData format. |
Updating values within a TileDB-SOMA Experiment
Add a new X layer to a measurement in the experiment. |
|
Replace the entire |
|
Replace the entire |
|
Given a |
Growing a TileDB-SOMA Experiment
Register |
|
Register H5AD files to extend an existing SOMA |
|
Returns the current shapes of the elements in the |
|
Outputs the current shapes of the elements in the |
|
Upgrade the elements inside a SOMA |
|
Resize the elements in the SOMA |
Classes¶
- class tiledbsoma.io.ExperimentAmbientLabelMapping(*, obs_axis: AxisAmbientLabelMapping, var_axes: dict[str, AxisAmbientLabelMapping], prepared: bool = False)¶
For all the to-be-appended AnnData/H5AD inputs in SOMA multi-file append-mode ingestion, this class contains information required to perform ingestion via
from_h5adorfrom_anndata.This class tracks the mapping from input-data
obsorvarID-column name (barcode ID, gene symbol) to SOMA join IDs for SOMA experimentobsorvar, as well as any dictionary/enumeration values.Methods
prepare_experiment(experiment_uri[, context])Prepare experiment for ingestion.
subset_for_anndata(adata)Return a copy of this object containing only the information necessary to ingest the specified AnnData.
subset_for_h5ad(h5ad_path)Subset this plan to only contain ID maps useful for this H5AD.