Description Usage Arguments Details Value Author(s) See Also Examples
This function is to find out which peaks belonging to a segment which ranges from startP to endP
1 2 3 | findSegPeakList(peakList,
startP,
endP)
|
peakList |
The peak lists of the spectra. |
startP |
The starting point of the segment. |
endP |
The ending point of the segment. |
This function is to find out which peaks belonging to a segment which ranges from startP to endP
The list of indices of the peaks in the segment.
Trung Nghia Vu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | res=makeSimulatedData();
X=res$data;
groupLabel=res$label;
peakList <- detectSpecPeaks(X,
nDivRange = c(128),
scales = seq(1, 16, 2),
baselineThresh = 50000,
SNR.Th = -1,
verbose=FALSE
);
cat("\n ", peakList[[1]])
segmentpeakList= findSegPeakList(peakList[[1]],400,600);
cat("\n ", segmentpeakList)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.