regbench_data.enhancer.retrieve_enhancer#

regbench_data.enhancer.retrieve_enhancer(id=None, p_value=None)#

Retrieves all datasets.

Parameters:
  • id (str | list[str] | None, optional) – The ID or list of IDs of the datasets to retrieve. If None, retrieves all datasets.

  • p_value (float | None, optional) – If provided, modify the ‘label’ column in each ScreeningResult based on the adjusted p-value. Otherwise, the ‘label’ column is left unchanged.

Returns:

A dictionary mapping dataset IDs to Dataset objects.

Return type:

dict[str, Dataset]