scglue.genomics.regulatory_inference¶
-
scglue.genomics.
regulatory_inference
(features, feature_embeddings, skeleton, alternative='two.sided', random_state=None)[source]¶ Regulatory inference based on feature embeddings
- Parameters
features (
Index
) – Feature namesfeature_embeddings (
Union
[ndarray
,List
[ndarray
]]) – List of feature embeddings from 1 or more modelsskeleton (
Graph
) – Skeleton graphalternative (
str
) – Alternative hypothesis, must be one of {“two.sided”, “less”, “greater”}random_state (
Union
[RandomState
,int
,None
]) – Random state
- Return type
- Returns
regulatory_graph – Regulatory graph containing regulatory score (“score”), P-value (“pval”), Q-value (“pval”) as edge attributes for feature pairs in the skeleton graph