# NOT RUN {
flowfile_path <- system.file("extdata", "B4_18_1.fcs", package = "cyanoFilter",
mustWork = TRUE)
flowfile <- flowCore::read.FCS(flowfile_path, alter.names = TRUE,
transformation = FALSE, emptyValue = FALSE,
dataset = 1) #FCS file contains only one data object
flowfile_nona <- cyanoFilter::nona(x = flowfile)
flowfile_noneg <- cyanoFilter::noneg(x = flowfile_nona)
flowfile_logtrans <- lnTrans(x = flowfile_noneg, c('SSC.W', 'TIME'))
cells_nonmargin <- cellmargin(flow.frame = flowfile_logtrans, Channel = 'SSC.W',
type = 'estimate', y_toplot = "FSC.HLin")
emapproach <- celldebris_emclustering(flowfile = cells_nonmargin$reducedflowframe,
channels = c("RED.B.HLin", "YEL.B.HLin",
"FSC.HLin", "RED.R.HLin"),
ncluster = 5, min.itera = 20)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab