spateo.io.merfish ================= .. py:module:: spateo.io.merfish .. autoapi-nested-parse:: IO functions for MERFISH technology. Functions --------- .. autoapisummary:: spateo.io.merfish.read_merfish_as_anndata spateo.io.merfish.read_merfish_positions_as_dataframe spateo.io.merfish.read_merfish Module Contents --------------- .. py:function:: read_merfish_as_anndata(path: str) -> anndata.AnnData Read MERFISH matrix as AnnData. :param matrix_dir: Path to matrix file. :returns: AnnData of cell x genes. .. py:function:: read_merfish_positions_as_dataframe(path: str) -> pandas.DataFrame Read MERFISH cell positions CSV as dataframe. :param path: Path to file :returns: DataFrame containing cell positions. .. py:function:: read_merfish(path: str, positions_path: str) -> anndata.AnnData Read MERFISH data as AnnData. :param path: Path to matrix files :param positions_path: Path to xlsx containing spatial coordinates