gatac.pp.combine

Contents

gatac.pp.combine#

gatac.pp.combine(input_paths, output_path)#

Merge multiple h5ad files into a single file with efficient streaming.

Parameters:
input_paths list of str or Path

List of paths to h5ad files

output_path str or Path

Output path for combined h5ad file

Examples

>>> import gatac as ga
>>> ga.pp.combine(
...     ["sampleA.h5ad", "sampleB.h5ad"],
...     "combined.h5ad",
... )