CN bundle max errors for manual library-assignment types
Source:R/compare.pave.R
compare_pave_lib_assignment_error_data.RdReads a curated assignment table (e.g. compare_pave_assigment.xlsx)
and joins each feature's CN-bundle max m/z error (ppm) and RT error (s)
from object@advancedAna$TRACE_temp.
Usage
compare_pave_lib_assignment_error_data(
assignment,
object,
i.pol = 0,
mz_error = c("max", "mean"),
types = NULL,
scatter_groups = NULL
)Arguments
- assignment
Path to assignment xlsx or data frame with
feature_idandtype.- object
MSdev object with TRACE CNfinder results.
- i.pol
Polarity index. `0` for negative and `1` for positive.
- mz_error
Use `"max"` or `"mean"` across CN-bundle edges.
- types
Character vector of
typelabels to compare. Used whenscatter_groupsisNULL.- scatter_groups
Optional character vector of scatter colour groups (
overlap,wrong in PAVE,wrong in TRACE,filter out to noise). Requires areasoncolumn inassignment.