write_tool
Save AnnData objects to files in formats like h5, csv, txt, or npz. Specify file paths, extensions, and compression options for efficient data storage.
Instructions
Write AnnData objects to file.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
compression | No | Compression format for h5 files. | gzip |
compression_opts | No | Compression options for h5 files. | |
ext | No | File extension to infer file format. If None, defaults to scanpy's settings.file_format_data. | |
filename | Yes | Path to save the file. If no extension is provided, the default format will be used. |