flowSet
object for
specified channels. For each sample in the flowSet
object, we apply
kmeans
to obtain K
clusters. From each cluster, we determine its
centroid and the sample covariance matrix. We then aggregate these two sample
moments across all samples for each cluster..prior_kmeans(flow_set, channels, K, nu0 = 4, w0 = 10, nstart = 10,
pct = 0.1, min = NULL, max = NULL, ...)
flowSet
objectflowSet
from which we elicit the prior parameters for the Student's t
mixturekmeans
algorithmflowFrame
that is used to elicit the prior parameters. The value should must be greater
than 0 and less than or equal to 1.NULL
(default), no truncation is applied.NULL
(default), no truncation is applied.kmeans
flowClust
prior parameterskmeans
are arbitrary, we align
the clusters based on the centroids that are closest to a randomly selected
reference sample. We apply the Hungarian algorithm implemented using the
solve_LSAP
function from the clue
package to assist with the
alignment.If each frame within flow_set
has a large number of cells, the
computational costs of kmeans
can be a burden. We provide the option
to randomly select pct
, a percentage of the cells from each flow frame
to which kmeans
is applied.