scglue.models.dx.integration_consistency¶
-
scglue.models.dx.
integration_consistency
(model, adatas, graph, edge_weight='weight', edge_sign='sign', count_layers=None)[source]¶ Integration consistency score, defined as the consistency between aligned-space meta-cell correlation and the prior graph
- Parameters
model (
SCGLUEModel
) – Integration model to be evaluatedadatas (
Mapping
[str
,AnnData
]) – Datasets (indexed by domain name)graph (
Graph
) – Prior graphedge_weight (
str
) – Key of edge attribute for edge weightedge_sign (
str
) – Key of edge attribute for edge signcount_layers (
Optional
[Mapping
[str
,str
]]) – Dataset layers that contain raw counts (indexed by domain name). If not provided, it is assumed that.X
is the raw counts.
- Return type
- Returns
consistency_df – Consistency score at different numbers of meta cells