scglue.models.fit_SCGLUE
- scglue.models.fit_SCGLUE(adatas, graph, model=SCGLUEModel, init_kws=None, compile_kws=None, fit_kws=None, balance_kws=None)[源代码]
Fit GLUE model to integrate single-cell multi-omics data
- 参数:
adatas (
typing.Mapping
[str
,AnnData
]) – Single-cell datasets (indexed by modality name)graph (
Graph
) – Guidance graphmodel (
type
) – Model class, must be one of {scglue.models.scglue.SCGLUEModel
,scglue.models.scglue.PairedSCGLUEModel
}init_kws (
typing.Optional
[typing.Mapping
[str
,typing.Any
]]) – Model initialization keyword arguments (see the constructor of themodel
class, eitherscglue.models.scglue.SCGLUEModel
orscglue.models.scglue.PairedSCGLUEModel
)compile_kws (
typing.Optional
[typing.Mapping
[str
,typing.Any
]]) – Model compile keyword arguments (see thecompile
method of themodel
class, eitherscglue.models.scglue.SCGLUEModel.compile()
orscglue.models.scglue.PairedSCGLUEModel.compile()
)fit_kws (
typing.Optional
[typing.Mapping
[str
,typing.Any
]]) – Model fitting keyword arguments (seescglue.models.scglue.SCGLUEModel.fit()
)balance_kws (
typing.Optional
[typing.Mapping
[str
,typing.Any
]]) – Balancing weight estimation keyword arguments (seescglue.data.estimate_balancing_weight()
)
- 返回类型:
- 返回:
model – Fitted model object