Use this function to filter the peaks detected by XCMS based on width, size, and signal-to-noise. The supplied XCMSnExp object should have peak information contained in it. Notice that any feature definitions and retention time alignment information is removed in the process so these processing steps will have to be performed again after running this function.

filter_xcms_peaklist(
  xd,
  return_type = c("xcms", "cpc"),
  param = cpcProcParam()
)

Arguments

xd

XCMSnExp object

return_type

String indicating if the filtered XCMS object ('xcms') or the CPC object ('cpc') should be returned.

param

cpcProcParam object with process parameters

Value

Either an XCMSnExp object or a cpc object.