Usage
ms.filter(component, x = "mz", y = "dm", xlim = FALSE,
ylim = FALSE, rm.comp = FALSE, plot.comp = TRUE,
rm.noncomp = TRUE, select.polygon = "inside", res = 100,
filter.for = "raw")
Arguments
component
List of type comp generated by combine
.
x
Scale of x-axis, any of "mz"
(m/z), "dm"
(mass defect), "rt"
(retention time) or "int"
(intensity).
y
Scale of y-axis, any of "mz"
(m/z), "dm"
(mass defect), "rt"
(retention time) or "int"
(intensity).
xlim
xlim=c(upper bound,lower bound), default = FALSE
.
ylim
ylim=c(upper bound,lower bound), default = FALSE
.
rm.comp
Select (i.e. remove) peaks assigned to components by combine
?
plot.comp
Highlight peaks part of a component (red)?
rm.noncomp
Select (i.e. remove) peaks not assigned to components by combine
?
select.polygon
Select peaks and/or components to be excluded "inside"
or "outside"
of the polygon drawn?
res
Resolution of polygon selection; increase if problems with selection by complicated polygons or along polygon boarder occur. Otherwise, ignore.
filter.for
What should be filtered and subsequently returned as value by the polygon selection? Any of "raw"
(raw data, i.e. peak list), "pattern"
(isotope pattern peak relations, i.e.
subset of first entry in list of type pattern generated by pattern.search
) or "adduct"
(adduct relations, i.e. subset of
first entry in list of type adduct generated by adduct.search
)