COSIE.linkage_construction.load_protein_gene_mapping

load_protein_gene_mapping()[source]

Load relationships between proteins and their associated genes. This function reads a CSV file (Protein_gene_relationship.csv) containing curated protein-to-gene mappings and returns a dictionary used for weak linkage construction. Users may also customize the CSV file to suit their own dataset.

Parameters

None

Returns

protein_to_genedict

A dictionary mapping each protein name (lowercased str) to a set of associated gene names (also lowercased str).