summary.massFilt: Summary method for massFilt object

View source: R/filter_summary_methods.R

summary.massFiltR Documentation

Summary method for massFilt object

Description

Summary method for massFilt object

Usage

## S3 method for class '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.


EMSL-Computing/fticRanalysis documentation built on Dec. 18, 2024, 9:51 p.m.