separate_signals: Separate Spectral Signals Takes a grouped tibble of spectral...

View source: R/separate_signals.R

separate_signalsR Documentation

Separate Spectral Signals Takes a grouped tibble of spectral data, returns a summary of the input with an x-coordinate that is diagnostic of each of the input spectra.

Description

Separate Spectral Signals Takes a grouped tibble of spectral data, returns a summary of the input with an x-coordinate that is diagnostic of each of the input spectra.

Usage

separate_signals(
  spectra,
  thres_ortho = 1,
  thres_intensity = 0.5,
  x = "mz",
  bin,
  cores = 1
)

Arguments

spectra

Grouped tibble mz/wl and intensity. Should be grouped by scan.

thres_ortho

Minimum orthogonality that a signal is allowed to have (1 is max)

thres_intensity

Minimum relative intensity that a signal is allowed to have (0-1)

x

Name of x-axis variable (mz or wl, etc.)

Value

Summary of input tibble with diagnostic x-coordinate

Examples

signal_ions <- conflicting_spectra %>%
  group_by(scan) %>%
  separate signals()


octopode/tidychrom documentation built on Nov. 2, 2022, 1:32 a.m.