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 names

  • feature_embeddings (Union[ndarray, List[ndarray]]) – List of feature embeddings from 1 or more models

  • skeleton (Graph) – Skeleton graph

  • alternative (str) – Alternative hypothesis, must be one of {“two.sided”, “less”, “greater”}

  • random_state (Union[RandomState, int, None]) – Random state

Return type

Graph

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