apply_correspondence: Apply Peak Correspondence

View source: R/functions_preprocessing.R

apply_correspondenceR Documentation

Apply Peak Correspondence

Description

Function to apply peak picking parameters on a data subset

Usage

apply_correspondence(
  data,
  metadata,
  min_frac,
  min_samples,
  bin = 0.25,
  bw = 30,
  group_by
)

Arguments

data

An MSnExp object in centroid mode.

metadata

Sample information data.frame.

min_frac

Minimum fraction of samples within a sample group a peak must be present to be considered a peak group.

min_samples

Minimum number of samples in at least one sample group a peak must be present to be considered a peak group.

bin

Size of the overlapping mz slices

bw

= Bandwidth of the smoothing kernel

group_by

Vector with the same length of the samples with grouping information


Coayala/MetaboTandem documentation built on April 7, 2024, 3:39 a.m.