Skip to contents

[Experimental] For each gene (row), computes mean + n_sd * SD (population SD) of the importance scores across all TFs and retains only pairs at or above that threshold.

Usage

rs_importance_threshold(matrix, n_sd, min_value)

Arguments

matrix

Numeric matrix with genes (rows) x TFs (columns) importance values. Must carry row and column names.

n_sd

Float. Number of standard deviations above the mean to use as the per-gene threshold.

min_value

Optional float. Absolute minimum importance score. Pairs below this are excluded even if they pass the per-gene threshold.

Value

A list with three vectors: tf, gene, importance.