View source: R/find_peaks_resample_95_CI.R
PeaksInKsDistributionValues | R Documentation |
This function identifies peaks in a distribution of Ks (synonymous substitution rates) values.
PeaksInKsDistributionValues(
ks,
binWidth = 0.1,
maxK = 5,
m = 3,
peak.maxK = 2,
spar = 0.25
)
ks |
A numeric vector containing Ks values for which peaks will be identified. |
binWidth |
A numeric value specifying the bin width for creating the histogram. |
maxK |
A numeric value indicating the maximum Ks value to consider. |
m |
An integer indicating the half-width of the neighborhood to consider when identifying peaks. A larger value of |
peak.maxK |
A numeric value specifying the maximum Ks value to consider when identifying peaks. |
spar |
A numeric value controlling the smoothness of the spline fit. Higher values make the fit smoother. |
A numeric vector containing the identified peaks in the Ks distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.