Description Usage Arguments Value Examples
Detect signals in background-removed spectra
1 | signal_detection(xr, fdr.c = 0.01, stren.c = 200, wid.c = 5)
|
xr |
A p*n data matrix of background-removed spectra, where n is the number of spectra, and p is the number of frequency channels. |
fdr.c |
A number between 0 and 1, which is the cutoff for FDR. |
stren.c |
A positive number for the cutoff of the strength of a signal. |
wid.c |
A positive number for the cutoff of the width of a signal. |
A list containing the indices of spectra with detected signals, tim.index
, and a matrix recording the peaks of signals, peaks
.
1 2 3 4 5 | res <- signal_detection(xr)
# xr is the matrix of background removed spectra
# xr can be obtained by background_removal function
head(res$tim.index) ## check the first few time indices of signals
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.