constraintMatrix {flowSpy} | R Documentation |
constraint FCS data by a provid cutoff
constraintMatrix(x, cutoff = 0.99, markers = NULL, method = "euclidean")
x |
matrix |
cutoff |
numeric. Cutoff of the constraint value |
markers |
character. Markers used in the calculation of constraint model. |
method |
character. the distance measure to be used. This must be one of "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski". |
a matrix
mat <- matrix(runif(10000), nrow = 1000, ncol = 10) colnames(mat) <- LETTERS[1:10] dim(mat) mat <- constraintMatrix(mat) dim(mat)