netmap.downstream.regulonΒΆ
Regulon selection and signed regulon construction from GRN attribution data.
select_top_edges() and select_top_edges_signed() select high-confidence
edges per source TF per cluster, filtered by neighbourhood co-expression support.
The signed variant uses cluster-wise Spearman correlation to split edges into
positive and negative regulons.
Functions
Aggregate regulon attribution scores across edges. |
|
Aggregate attribution scores for arbitrary named edge sets. |
|
Compute UCell gene set enrichment scores for regulon signatures. |
|
Compute pairwise overlap status of target genes across clusters. |
|
Compute per-source-gene Jaccard similarity matrices across clusters. |
|
Compute the Jaccard similarity coefficient between two sets. |
|
Reconstruct a nested edge dictionary from a flat regulon DataFrame. |
|
Concatenate all regulon edge DataFrames into a flat DataFrame. |
|
Plot a heatmap of the mean pairwise Jaccard similarity across all source genes. |
|
Organise per-cluster edge lists into a nested results dictionary. |
|
Build the positive/negative regulon result structure from per-cluster edge lists. |
|
Select the top-attribution edges per source TF per cluster. |
|
Select top edges per source TF per cluster and split them into positive and negative regulons based on cluster-wise Spearman correlation. |