opendvp.io.import_perseus

Contents

opendvp.io.import_perseus#

import_perseus(path_to_perseus_txt, n_var_metadata_rows=4)#

Convert a Perseus text file to an AnnData object.

Parameters:
  • path_to_perseus_txt (str) – Path to the Perseus text file.

  • n_var_metadata_rows (int, default 4) – Number of metadata rows at the bottom of the columns to use as var headers.

Returns:

AnnData object with imported data.

Return type:

anndata.AnnData