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 (
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]) – 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