popari.model.Popari.save_results#
- Popari.save_results(dataset_path, ignore_raw_data=True)[source]#
Save datasets and learned Popari parameters to disk.
- Parameters:
dataset_path (str) – where to save results. If results are non-hierarchical, file extension will automatically be changed to
.h5ad. Otherwise, if results are hierarchical,dataset_pathwill be interpreted as a path to a subfolder where separate.h5adfiles will be stored for each hierarchical level.ignore_raw_data (bool) – if set, only learned parameters and embeddings will be saved; raw gene expression will be ignored.