View source: R/sampleCompute.R
computeItemsSampleGUI | R Documentation |
Open a Graphical User Interface allowing to choose cluster name and model file for the estimation and the saving of the number of cells in colonies.
computeItemsSampleGUI(
data.sample,
method.select = "K-means",
RclusTool.env = initParameters()
)
data.sample |
list containing features, profiles and clustering results. |
method.select |
character vector specifying the name of the clustering result to use ('K-means' by default). |
RclusTool.env |
environment in which all global parameters, raw data and results are stored. |
computeItemsSampleGUI opens a Graphical User Interface allowing to choose cluster name and model file for the estimation and the saving of the number of cells in colonies
data.sample with saved count results
csv file containing the counts.
dat <- rbind(matrix(rnorm(100, mean = 0, sd = 0.3), ncol = 2),
matrix(rnorm(100, mean = 2, sd = 0.3), ncol = 2),
matrix(rnorm(100, mean = 4, sd = 0.3), ncol = 2))
tf <- tempfile()
write.table(dat, tf, sep=",", dec=".")
x <- importSample(file.features=tf)
x <- computeUnSupervised(x, K=0, pca=TRUE, echo=TRUE)
computeItemsSampleGUI(x, method.select="K-means")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.