ehrapy.data.breast_cancer_coimbra

ehrapy.data.breast_cancer_coimbra(encoded=False, columns_obs_only=None)[source]

Loads the Breast Cancer Coimbra Data Set

More details: http://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Coimbra

Preprocessing: https://github.com/theislab/ehrapy-datasets/blob/main/breast_cancer_coimbra/breast_cancer_coimbra.ipynb

Parameters:
  • encoded (bool, default: False) – Whether to return an already encoded object.

  • columns_obs_only (dict[str, list[str]] | list[str] | None, default: None) – Columns to include in obs only and not X.

Return type:

AnnData

Returns:

AnnData object of the Breast Cancer Coimbra Data Set

Examples

>>> import ehrapy as ep
>>> adata = ep.dt.breast_cancer_coimbra(encoded=True)