Read genotype matrix and read-count matrix.

The genotype matrix must be in the in format of pandas.DataFrame The read-count matrix must be in the format of anndata.AnnData.


filepath (str) – The path to the file. The extension must be one of [.SC, .CFMatrix, .h5ad, .h5ad.gz, .nwk]


Depends on the format of the input file the output type is different.

Return type

pandas.DataFrame or anndata.AnnData