Description Usage Arguments Value References Examples
View source: R/labelTransferEllipse.R
Label transfer between a test partition and a training partitions viewed as a mixture of gaussians.
1 2 3 4 5 6 | labelTransferEllipse(
i,
test.cytometry.ellipses,
training.cytometries.barycenter,
equal.weights = FALSE
)
|
i |
A dummy variable, should be any integral. Ment for use with lapply. |
test.cytometry.ellipses |
A test clustering viewed as a mixture of multivariate normal distributions. |
training.cytometries.barycenter |
A training partition viewed as a mixture of multivariate normal distributions. |
equal.weights |
If True, weights assigned to every cluster in a partion are uniform (1/number of clusters) when calculating the similarity distance. If False, weights assigned to clusters are the proportions of points in every cluster compared to the total amount of points in the partition. |
A fuzzy relabeling consistent of a transportation plan.
E del Barrio, H Inouzhe, JM Loubes, C Matran and A Mayo-Iscar. (2019) optimalFlow: Optimal-transport approach to flow cytometry gating and population matching. arXiv:1907.08006
1 2 3 4 5 | partition1 <- list(list(mean = c(1, 1), cov = diag(1, 2), weight = 0.5, type = '1'),
list(mean = c(-1, -1), cov = diag(1, 2), weight = 0.5, type = '2'))
partition2 <- list(list(mean = c(1, 1), cov = diag(1, 2), weight = 0.5, type = 'a'),
list(mean = c(-1, -1), cov = diag(1, 2), weight = 0.5, type = 'b'))
labelTransferEllipse(1, partition2, partition1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.