Summary method for massFilt object

# S3 method for massFilt
summary(object, min_mass = NULL, max_mass = NULL, ...)

Arguments

object

an object of class 'massFilt' created by running mass_filter

min_mass

an integer value specifying the minimum mass a peak must have to be retained in the dataset (inclusive). If only max_mass is provided, then this values is assumed to be the minimum observed mass value.

max_mass

an integer value specifying the maximum mass a peak can have to be retained in the dataset (inclusive). If only min_mass is provided, then this value is assumed to be the maximum observed mass value.

...

included for compliance with generic method

Value

If min_mass and/or max_mass is provided, a summary of the effect of implementing a filter with the specified thresholds. Otherwise, a five-number summary and the mean value of the mass values observed across all samples are given.