Description Usage Arguments Details Value See Also Examples
Apply a specific predictive model for counting of number of cells in colonies for each cluster.
1 | computeItems(data.sample, method, cluster, modelFile)
|
data.sample |
list containing features, profiles and clustering results. |
method |
character vector specifying the name of the clustering result to use. |
cluster |
character vector specifying the name of the cluster to consider for the application of the specific model. |
modelFile |
character vector specifying the path and the name of the RData model file. |
computeItems applies a specific predictive model for counting of number of cells in colonies for each cluster
data.sample list containing features, profiles and clustering results with the number of cells for each particle.
1 2 3 4 5 6 7 8 9 10 11 12 |
dat <- rbind(matrix(rnorm(100, mean = 2, sd = 0.3), ncol = 2),
matrix(rnorm(100, mean = 4, sd = 0.3), ncol = 2),
matrix(rnorm(100, mean = 6, sd = 0.3), ncol = 2))
colnames(dat) <- c("x","y")
tf <- tempfile()
write.table(dat, tf, sep=",", dec=".")
x <- importSample(file.features=tf, dir.save=tempdir())
x <- computeUnSupervised(x, K=3, method.name="K-means")
x <- computeItems(x, method="K-means", cluster="Cluster 1", modelFile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.