constraintMatrix {CytoTree}R Documentation

constraintMatrix

Description

constraint FCS data by a provid cutoff

Usage

constraintMatrix(x, cutoff = 0.99, markers = NULL, method = "euclidean")

Arguments

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".

Value

a matrix

Examples


mat <- matrix(runif(10000), nrow = 1000, ncol = 10)
colnames(mat) <- LETTERS[ seq_len(10)]
dim(mat)

mat <- constraintMatrix(mat)
dim(mat)


[Package CytoTree version 1.0.3 Index]