View source: R/rapt_cluster-detection.R
gema.pp3 | R Documentation |
Identify Clusters in a Point Pattern Using GEMA
## S3 method for class 'pp3' gema(X, cluster = NULL, kde.n = 20, max.clusters = 30, threshold = 0.5)
X |
The point pattern (object of class |
cluster |
The marks of |
kde.n |
Number of sampling grid lines for the 3D kernel density estimate |
max.clusters |
The maximum number of clusters to define the cluster search initialization. See Details. |
threshold |
The probability threshold at which to assign a point to a cluster or to the background. Defaults to 0.5, which is usually Bayes optimal. |
A data.frame
is returned as an attribute (attr("prob")
) that contains the
probabilities of assignment to the background and each cluster.
A marked point pattern (of the same class as X
) with marks
corresponding to the identified background and each identified cluster
based on threshold
.
Zelenty, J. et al., "Detecting Clusters in Atom Probe Data with Gaussian Mixture Models", Microscopy and Microanalysis, 23 (2), 269-278 (2017): https://doi.org/10.1017/S1431927617000320
Other cluster identification functions:
gema.gema()
,
gema()
,
msa()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.