cat.internal_preprocessing

cat.internal_preprocessing#

cat.internal_preprocessing(ds1: Dataset, ds2: Dataset, features_file: str | None = None, normalize: bool = True) tuple[Dataset, Dataset]#

The internal preprocessing of the CAT algorithm ensures that data is in the right shape and format.

Parameters:
  • ds1 (Dataset) – Source dataset

  • ds2 (Dataset) – Target dataset

  • features_file (str | None, optional) – List of genes, i.e. GO:TERM, by default None

  • normalize (bool, optional) – Normalize data, by default True

Returns:

CAT ready datasets

Return type:

tuple[Dataset, Dataset]