accuracy {cyanoFilter} | R Documentation |
This function
accuracy(mat, mono_clust, bi_clust, nrun = 10000)
mat |
matrix to be sampled from |
mono_clust |
monoculture cluster label |
bi_clust |
biculture cluster label |
nrun |
number of times the resampling should be carried out. Defaults to 10000 |
a vector of integer values
x <- matrix(NA, nrow = 100, ncol = 3) xx <- apply(x, 2, rnorm, 100) xx <- cbind(xx, Mono = rep(1:2, each = 50), Bi = rep(1:2, times = 50)) accuracy(xx, "Mono", "Bi", nrun = 5000)