Plot XIC comparison for dynamic-filtered vs overlap CN seeds
Source:R/compare.pave.R
plot_compare_pave_dyn_filtered_xic.RdFor each feature, resolves the TRACE CN bundle and filters each CN form
(C0N0, CxN0, C0Ny, CxNy) by its own feature
mzmed +/- mz_ppm and shared rtmed +/- rt_window.
Usage
plot_compare_pave_dyn_filtered_xic(
feature_id,
object,
i.pol = 0,
comparison_feature_id = NULL,
rt_window = 20,
mz_ppm = 10,
sampleNames = NULL,
return.data = FALSE
)Arguments
- feature_id
CN seed feature ID removed by TRACE dynamic filter.
- object
MSdev object with processed xcms data and TRACE results.
- i.pol
Polarity index. `0` for negative and `1` for positive.
- comparison_feature_id
Optional retained CN seed for the right panel.
- rt_window
RT half-window in seconds; sets
rtr = rtmed +/- rt_windowforfilterRt()and the XIC x-axis (xlim).- mz_ppm
m/z half-window in ppm; sets
mzr = mzmed +/- mz_ppmforfilterMz()(default5).- sampleNames
Ignored; one representative sample per CN group is used.
- return.data
If
TRUE, return a list withplotanddata.