mz_rt_match: mz_rt_match

Description Usage Arguments Value Author(s)

View source: R/mz_rt_match.R

Description

Match peaks according to m/z and RT.

Usage

1
2
3
4
5
6
7
mz_rt_match(
  data1,
  data2,
  mz.tol,
  rt.tol = 30,
  rt.error.type = c("relative", "abs")
)

Arguments

data1

First data for matching, first column must be mz and seconod column must be rt.

data2

Second data for matching, first column must be mz and seconod column must be rt.

mz.tol

mz tol for ms1 and ms2 data matching.

rt.tol

RT tol for ms1 and ms2 data matching.

rt.error.type

RT error is calculated with relative or absolute.

Value

Return a result which give the matching result of data1 and database.

Author(s)

Xiaotao Shen shenxt@sioc.ac.cn


jaspershen/tinyTools documentation built on Nov. 10, 2021, 12:40 a.m.