Skip to contents

Uses the curated assignment row to choose the TRACE seed and the PAVE/TRACE CN formulas, then pulls the TRACE CN bundle from `object@advancedAna$TRACE_temp`. This is intended for vignette demos where you want a known feature ID (e.g. 6380) rather than the top-ranked result.

Usage

plot_compare_pave_wrong_cn_feature_demo(
  feature_id,
  assignment,
  object,
  i.pol = 0,
  trace_fill = "#4DBBD5",
  pave_fill = "#FBD6D3",
  center_fill = "grey85"
)

Arguments

feature_id

Feature ID to demo.

assignment

Assignment table or xlsx path containing at least `feature_id`, `trace.seed` (or `seed_trace`/`seed`), `TRACE_formula_ann` (or `formula_trace`), and `pave_cn_formula` (or `formula_pave`).

object

MSdev object with TRACE CN network results.

i.pol

Polarity index (0 = negative).

trace_fill

Fill colour for TRACE bundle nodes.

pave_fill

Fill colour for the PAVE-wrong node.

center_fill

Fill colour for the C0N0 seed.

Value

A `ggplot` object.