mzGroup: Binning of mass spectral features in m/z dimension

Description Usage Arguments Details Value

View source: R/mzGroup.R

Description

Features in two input feature lists are grouped by their m/z values.

Usage

1
mzGroup(xset, yset, binGap)

Arguments

xset

data frame containing metabolomics features

yset

data frame containing metabolomics features

binGap

numeric gap value between consecutive sorted & pooled feature m/z values.

Details

The m/z values from both datasets are pooled, sorted, and binned by the binGap argument. Feature groups form when there is at least one pair of features from both datasets whose consecutive difference is less than binGap. Grouped features are joined together in combinedTable data report.

Value

list object containing updated xset & yset with group information


metabCombiner documentation built on Dec. 10, 2020, 2 a.m.