scrnatools.tools.save_isoform_lookup_tables

scrnatools.tools.save_isoform_lookup_tables(path: str, ec2tx: Dict[str, str], ec2g: Dict[str, str], inv_map: Dict[str, str])[source]

Saves the lookup tables for an isoform AnnData object.

Parameters:
  • path (str) – The path and file name to save the lookup dicts to. (_ec2tx.json, _ec2g.json, and _inv_map.json all appended to this file name).

  • ec2tx (Dict[str, str]) – The equivalence class to transcript dict to save.

  • ec2g (Dict[str, str]) – The equivalence class to gene dict to save.

  • inv_map (Dict[str, str]) – The gene to equivalence class dict to save.