Skip to contents

This is a debugging/inspection helper that reproduces the internal `score_mat` and `blocked_mat` used to derive `assign.group` within a connectivity component (`conn.component`).

Usage

TRACE_score_mat_component(
  object,
  i.pol = 0L,
  conn.component,
  max_path_length = 5L,
  connection_cutoff = 0.5
)

Arguments

object

MSdev object with TRACE network assignment results.

i.pol

Polarity index (`0` = negative, `1` = positive).

conn.component

Numeric connectivity component id (e.g. `638`).

max_path_length

Maximum simple path length used when scoring (default `5`).

connection_cutoff

Compatibility cutoff used to build the adjacency matrix (default `0.5`).

Value

A list with `nodes`, `assign` (subset of `cn.seed.assign`), `score_mat`, `blocked_mat`, `ppm.dyn`, `rt.tol.dyn`, `connection_cutoff`, and `max_path_length`.