scglue.genomics.regulatory_inference
- scglue.genomics.regulatory_inference(features, feature_embeddings, skeleton, alternative='two.sided', random_state=None)[源代码]
Regulatory inference based on feature embeddings
- 参数:
features (
pandas.core.indexes.base.Index
) – Feature namesfeature_embeddings (
typing.Union
[numpy.ndarray
,typing.List
[numpy.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 (
typing.Union
[RandomState
,int
,None
]) – 随机状态
- 返回类型:
- 返回:
regulatory_graph – Regulatory graph containing regulatory score (“score”), P-value (“pval”), Q-value (“pval”) as edge attributes for feature pairs in the skeleton graph