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

View source: R/mzGroup.R

mzGroupR Documentation

Binning of mass spectral features in m/z dimension

Description

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

Usage

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


hhabra/metabCombiner documentation built on June 5, 2024, 5:46 a.m.