scrnatools.tools.load_isoform_lookup_tables

scrnatools.tools.load_isoform_lookup_tables(path: str) Tuple[Dict[str, str], Dict[str, str], Dict[str, str]][source]

Loads the lookup tables for an isoform AnnData object.

Parameters:

path (str) – The path and file name of the lookup dicts to load. (_ec2tx.json, _ec2g.json, and _inv_map.json all appended to this file name).

Returns:

The equivalence class to transcript, equivalence class to genes, and inverse map dicts.

Return type:

Tuple[Dict[str, str], Dict[str, str], Dict[str, str]]