Last data update: 2014.03.03

R: Find entities presented in both polarities
FindCommonR Documentation

Find entities presented in both polarities

Description

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

Usage

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

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

## End(Not run)

Results