Learn R Programming

RclusTool (version 0.91.61)

computeItemsSampleGUI: GUI to estimate the number of cells in colonies for each cluster

Description

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.

Usage

computeItemsSampleGUI(
  data.sample,
  method.select = "K-means",
  RclusTool.env = initParameters()
)

Value

data.sample with saved count results

csv file containing the counts.

Arguments

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.

Details

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

Examples

Run this code
# \donttest{ 

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")
 
# }

Run the code above in your browser using DataLab