enve.recplot2.findPeaks.em | R Documentation |
Identifies peaks in the population histogram using a Gaussian Mixture Model Expectation Maximization (GMM-EM) method.
enve.recplot2.findPeaks.em(
x,
max.iter = 1000,
ll.diff.res = 1e-08,
components = 2,
rm.top = 0.05,
verbose = FALSE,
init,
log = TRUE
)
x |
An |
max.iter |
Maximum number of EM iterations. |
ll.diff.res |
Maximum Log-Likelihood difference to be considered as convergent. |
components |
Number of distributions assumed in the mixture. |
rm.top |
Top-values to remove before finding peaks, as a quantile probability.
This step is useful to remove highly conserved regions, but can be
turned off by setting |
verbose |
Display (mostly debugging) information. |
init |
Initialization parameters. By default, these are derived from k-means
clustering. A named list with vectors for |
log |
Logical value indicating if the estimations should be performed in natural logarithm units. Do not change unless you know what you're doing. |
Returns a list of enve.RecPlot2.Peak
objects.
Luis M. Rodriguez-R [aut, cre]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.