| matchExpSpec | R Documentation | 
Function matchExpSpec calculates match factors for a
pseudospectrum with all entries in the database. A plot of the best
match can be provided.
matchExpSpec(pspec, DB, DB.treated, plotIt = FALSE,
             scale.p = c("sqrt", "none"), mass.weight = TRUE, ...)
| pspec | The pseudospectrum, a two- or three-column matrix where the third column (the retention time) will be ignored. | 
| DB | Database of standards. | 
| DB.treated | Logical, indicating whether the database has already been scaled (TRUE) or not. | 
| plotIt | Logical: show best match? | 
| scale.p | indicates whether  | 
| mass.weight | Logical, indicating whether heavier masses receive higher weight. Should usually be TRUE. | 
| ... | Further arguments for the pseudospectrum plot (if shown). | 
A vector of match factors.
Ron Wehrens
data(threeStdsNIST) ## gives smallDB, containing 78 patterns data(threeStdsDB) ## gives DB, containing 3 patterns :-D matchExpSpec(DB[[1]]$pspectrum, smallDB, DB.treated = FALSE, plotIt = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.