Description Usage Arguments Value Methods (by class) Examples
Find local maximum peaks in EEM data
1 2 3 4 5 6 7 8 9 10 11 | findLocalMax(data, ...)
## S3 method for class 'EEM'
findLocalMax(data, n, threshold = 0.7, showprint = TRUE, ...)
## S3 method for class 'matrix'
findLocalMax(data, n, threshold = 0.7, showprint = TRUE,
...)
## S3 method for class 'numeric'
findLocalMax(data, threshold = 0.7, showprint = TRUE, ...)
|
data |
EEM data generated by |
... |
(optional) further arguments passed to other methods |
n |
sample number. The number should not exceed |
threshold |
threshold value in between 0 and 1. Lower the value to cover low peaks. |
showprint |
logical value whether to print out the results or not |
return a character vector of peak names. If showprint = TRUE, it will also print a dataframe of indicating the value of local maximum peaks.
EEM
: for EEM data created by readEEM
function
matrix
: for unfolded EEM data created by unfold
function
numeric
: for a vector of numeric values which have names in
the format of EX...EM...
1 2 3 4 5 | data(applejuice)
findLocalMax(applejuice, 1)
applejuice_uf <- unfold(applejuice)
findLocalMax(applejuice_uf, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.