hest.write_10X_h5
- hest.write_10X_h5(adata, file)
Writes adata to a 10X-formatted h5 file.
Note that this function is not fully tested and may not work for all cases. It will not write the following keys to the h5 file compared to 10X: ‘_all_tag_keys’, ‘pattern’, ‘read’, ‘sequence’
- Parameters:
adata (AnnData object) – AnnData object to be written.
file (str) – File name to be written to. If no extension is given, ‘.h5’ is appended.
- Raises:
FileExistsError – If file already exists.
- Returns:
None