trisicell.io.read

trisicell.io.read(filepath)[source]

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.

Parameters

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

Returns

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

Return type

pandas.DataFrame or anndata.AnnData