FindCommon: Find entities presented in both polarities

Description Usage Arguments Examples

View source: R/FindCommon.R

Description

Takes matrices from positive and negative ionization mode and find entities in common.

Usage

1
FindCommon(POSITIVE, NEGATIVE, ADDUCTS, Masstolerance, RTtolerance)

Arguments

POSITIVE

A matrix with positive entities information (Compound Name, Mass, RT, and multiple columns with the area of the compound in samples).

NEGATIVE

A matrix with positive entities information (Compound Name, Mass, RT, and multiple columns with the area of the compound in samples).

ADDUCTS

A matrix with positive adducts, negative adducts and their difference in mass.

Masstolerance

The tolerance in Da when considering the adducts that can be present in both matrices.

RTtolerance

The tolerance of retention time when comparing both polarities. It should be in the same units as the RT in POSITIVE and NEGATIVE matrices.

Examples

1
2
3
4
## Not run: 
CommonEntities<-FindCommon(POSITIVE,NEGATIVE,ADDUCTS,Masstolerance=0.02,RTtorelance=0.5)

## End(Not run)

MScombine documentation built on May 1, 2019, 8:04 p.m.