sc_reconstruction.models.ReconSCVI#
- class sc_reconstruction.models.ReconSCVI(*args, **kwargs)[source]#
Bases:
SCVI,BaseReconstructionModelA structured SCVI model for reconstruction that adheres to the base class interface.
- Parameters:
adata (AnnData | None)
registry (Dict | None)
- __init__(adata=None, registry=None, **kwargs)[source]#
- Parameters:
adata (AnnData | None)
registry (Dict | None)
Methods
__init__([adata, registry])get_latent_representation(X, **inference_kwargs)load(path[, map_location])Load the model
predict(X[, inference_kwargs, pred_type])Parameters: X: np.ndarray - Raw input data.
prepare(adata, **kwargs)Register adata with the SCVI data manager and cache the reference.
save(path, **kwargs)Save the model module to
path.train(**train_kwargs)Drop the unused
save_pathkwarg and delegate toSCVI.train.