Description Usage Arguments Value See Also
This function is primarily thought to be used internally to define peaks in data. One function is borrowed from package vulcan, namely the vulcan::densityauc, which is neat, but the package is large and significantly increases the installation time, and the importing is thus discarded.
1 2 3 4 5 6 7 8 | peakIdenti(
markerData,
volThresh = 0.05,
distThresh = 0.1,
adjust = 2,
nPeaks = 2,
returnStats = FALSE
)
|
markerData |
The data that the peaks should be identified for |
volThresh |
The cutoff ratio of the volume for each secondary peak, under which it is not considered to be a peak |
distThresh |
The cutoff under which two peaks are considered one, as they are too close to each other. This value between 0 and 1 corresponds to a fraction from the 10th to the 90th percentile of the data range that the peaks must be separated by to count. Defaults to 0.1 or 10 percent of the distance. |
adjust |
The value deciding the accuracy of the density calculation. The higher the value, the lower the sensitivity for small aberrations in the density. |
nPeaks |
The number of peaks that should be exported. If n+1 fulfilling the volRatio criterion are found, the peaks most separated in space are chosen. |
returnStats |
Should the deflection points defining the peaks, the peak hight and the lowest deflection point between the two most extreme peaks be included in the export? |
The information about the peaks in question. Depending on if returnStats is TRUE or not and the number of peaks, it will change in complexity.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.