cellrank.ul.models.GAM.read

static GAM.read(fname, adata=None, copy=False)

Deserialize self from a file.

Parameters
  • fname (Union[str, Path]) – Filename from which to read the object.

  • adata (Optional[AnnData]) – anndata.AnnData object to assign to the saved object. Only used when the saved object has adata and it was saved without it.

  • copy (bool) – Whether to copy adata before assigning it or not. If adata is a view, it is always copied.

Return type

IOMixin

Returns

The deserialized object.