Description Usage Arguments Details Value Author(s) Examples
Calculate the normalised dot product (NDP)
1  NDP(matrow1, matrow2, m = 0.5, n = 2, mass)

matrow1 

matrow2 

m 

n 

mass 

The NDP is calculated according to the following formula:
∑(W_{S1, i} \cdot W_{S2, i}) ^ 2 ∑(W_{S1, i} ^ 2) * ∑(W_{S2, i} ^ 2)
, with W = [ peak intensity] ^{m} \cdot [m/z]^n. For further information see Li et al. (2015): Navigating natural variation in herbivoryinduced secondary metabolism in coyote tobacco populations using MS/MS structural analysis. PNAS, E4147–E4155. NDP returns a numeric value ranging between 0 and 1, where 0 indicates no similarity between the two MS/MS features, while 1 indicates that the MS/MS features are identical. For the calculation of the NDP only the elements of S1 and S2 that are not equal to 0 will be used.
NDP returns a numeric similarity coefficient between 0 and 1
Thomas Naake, thomasnaake@googlemail.com
1 2 3 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.