Synchronization

Synchronization#

Functionality to synchronize the dataset with the accompanying metadata.

sync.synchronize_dataset

This function is used to synchronize the unstructured metadata with the underlying data.

sync.sample_ids_from_obs

This function synchronizes the dataset by selecting the present sample_IDs in adata.obs["sample_ID"] and subsetting the metadata stored in adata.uns["metadata"] accordingly.

sync.sample_ids_from_metadata

This function synchronizes the dataset by selecting the present sample_IDs in adata.uns["metadata"] and subsetting the dataset accordingly.