Plot one ranked adduct-conflict seed-chain demo
Source:R/compare.pave.R
plot_compare_pave_adduct_conflict_demo.RdStarts from a PAVE adduct feature and walks upstream along cn.seed.ig
adduct-parent edges to the metabolite root (not the TRACE seed field,
which often skips intermediate adducts). Each edge is labelled
M-H > M+XXX from the child pave_adduct/description.
Usage
plot_compare_pave_adduct_conflict_demo(
object,
assignment = NULL,
index = 1L,
demos = NULL,
pave.trace.merged.lib = NULL,
i.pol = 0,
lib_fill = "#4DBBD5",
other_fill = "grey92",
return.data = FALSE
)Arguments
- object
MSdev object used to build demos.
- assignment
Assignment table/path passed to [compare_pave_adduct_conflict_demos()], unless
demosis supplied.- index
1-based index into ranked demos.
- demos
Optional precomputed list from [compare_pave_adduct_conflict_demos()].
- pave.trace.merged.lib
Optional merged library table.
- i.pol
Polarity index (
0= negative).- lib_fill
Fill color for TRACE library-hit nodes.
- other_fill
Fill color for other nodes.
- return.data
If
TRUE, return list withplot,demo, and layout tables.