dot-score_subnetwork: Score a subnetwork from its size and z-score sum

.score_subnetworkR Documentation

Score a subnetwork from its size and z-score sum

Description

Single-node subnetworks always score 0. Otherwise the raw score is zsum / sqrt(n), optionally calibrated against the Monte-Carlo distribution and optionally penalized for size.

Usage

.score_subnetwork(sc, n, zsum, normalize)

Arguments

sc

A score context from build_score_context().

n

Number of nodes in the subnetwork.

zsum

Sum of the z-scores of the subnetwork nodes.

normalize

Logical; whether to calibrate the score.

Value

A numeric score.


pathfindR documentation built on July 2, 2026, 1:06 a.m.