Bases: ABC
Abstract base class for loading and standardizing PPI (protein-protein interaction) data.
This class defines the interface for data loaders that retrieve and standardize
PPI data from various sources.
-
get_data() → dict[source]
Get the standardized data.
- Returns:
Standardized data dictionary containing nodes, edges, and metadata.
- Return type:
dict
-
abstract retrieve_data() → Loader[source]
Retrieve PPI data from the specified source.
Subclasses must implement this method to fetch data from their respective
data source and store it internally.
- Returns:
Self for method chaining.
- Return type:
Loader
-
abstract standardize_data_format() → Loader[source]
Standardize the format of the retrieved data.
Ensures consistency across different data sources by converting raw data
into a standardized internal format.
- Returns:
Self for method chaining.
- Return type:
Loader