flowSet
object for
specified channels. For each sample in the flowSet
object, we apply the
given prior_method
to elicit the priors parameters.prior_flowClust(flow_set, channels, prior_method = c("kmeans"), K = 2,
nu0 = 4, w0 = c(10, 10), shrink = 1e-06, ...)
flowSet
objectflowSet
from which we elicit the prior parameters for the Student's t
mixtureK
peaks from which we elicit prior parameters. Otherwise,
if more than one channel is specified, we apply K-Means to each of the samples
in the flowSet
and aggregate the clusters to elicit the prior
parameters.In the rare case that a prior covariance matrix is singular, we shrink the
eigenvalues of the matrix slightly to ensure that it is positive definite. For
instance, if the flow_set
has two samples, this case can occur. The
amount of shrinkage is controlled in shrink
.