Description Usage Arguments Value
View source: R/spectra.alignment.R
The function merges spectra with different spectral resolution using as a reference the spectra with highest resolution. The matching is done based on a span value defined by the user.
1 | spectra.alignment(db1, db2, t)
|
db1 |
Dataframe/matrix with frequency values as first column and at least one column with intensity values. |
db2 |
Dataframe/matrix with frequency values as first column and at least one column with intensity values. |
t |
Numeric. It indicates the tolerance for the matching of the two spectra. For a given t-value, the intensity values that range in the frequency interval (f-t, f+t) are matched with the corresponding intensity values of the database with the highest spectral resolution. |
Return a matrix with frequency of the database with highest spectral resolution and intensity values of the two databases matched based on the 't' parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.