Compocyte.core.base.data_baseΒΆ

Data handling base class utilities.

This module contains base functionality for reading, validating and preprocessing AnnData objects used by the rest of the package.

class Compocyte.core.base.data_base.DataBase[source]ΒΆ

Bases: object

Add explanation

add_variables(new_variables)[source]ΒΆ
check_for_counts()[source]ΒΆ

Checks self.adata.X and self.adata.raw.X for presence of raw count data.

ensure_normlog()[source]ΒΆ
ensure_not_view()[source]ΒΆ

Ensures that the AnnData object saved within is not a view.

load_adata(adata)[source]ΒΆ
variable_match_adata(new_adata)[source]ΒΆ