gcell.cell.celltype.GETHydraCellType.from_config

gcell.cell.celltype.GETHydraCellType.from_config#

classmethod GETHydraCellType.from_config(cfg, celltype=None, zarr_path=None, prediction_target=None)[source]#

Create GETHydraCellType instance from configuration.

Parameters:
cfg

Configuration object

celltype default: None

Cell type name

zarr_path default: None

Path to zarr data

prediction_target default: None

Prediction target. Default is the first loss component in the model.

Returns:

GETHydraCellType New instance