Emulation: cell_type

class cytomulate.emulation.cell_type.EmulationCellType(label, cell_id, n_markers)[source]

Bases: GeneralCellType

fit(data, max_components, min_components, covariance_types)[source]

Fit cell type models using the data provided

The model selection is done using BIC

Parameters:
  • data (np.ndarray) – The expression matrix corresponding to the target cell type

  • max_components (int) – The maximum number of components to be included in the GMM

  • min_components (int) – The minimum number of components to be included in the GMM

  • covariance_types (list or tuple) – A list of strings specifying the type of covariances to be considered during the model fitting

Return type:

None