powered by
Takes matrices from positive and negative ionization mode and find entities in common.
FindCommon(POSITIVE, NEGATIVE, ADDUCTS, Masstolerance, RTtolerance)
A matrix with positive entities information (Compound Name, Mass, RT, and multiple columns with the area of the compound in samples).
A matrix with positive adducts, negative adducts and their difference in mass.
The tolerance in Da when considering the adducts that can be present in both matrices.
The tolerance of retention time when comparing both polarities. It should be in the same units as the RT in POSITIVE and NEGATIVE matrices.
# NOT RUN { CommonEntities<-FindCommon(POSITIVE,NEGATIVE,ADDUCTS,Masstolerance=0.02,RTtorelance=0.5) # }
Run the code above in your browser using DataLab