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 hasadata
and it was saved without it.copy (
bool
) – Whether to copyadata
before assigning it or not. Ifadata
is a view, it is always copied.
- Return type
IOMixin
- Returns
The deserialized object.