oneDgate {cyanoFilter}R Documentation

returns the labels stating the cluster of each row in a flowfile.

Description

returns the labels stating the cluster of each row in a flowfile.

Usage

oneDgate(flowfile, togate)

Arguments

flowfile

flowframe after debris are removed.

togate

channels detected to have more than one peak present. Provide by the getChannel function.

Value

list of indicators for cells above and below an estimated threshold

Examples

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) 
flowfile_nona <- cyanoFilter::noNA(x = flowfile)
flowfile_noneg <- cyanoFilter::noNeg(x = flowfile_nona)
flowfile_logtrans <- cyanoFilter::lnTrans(x = flowfile_noneg, 
c('SSC.W', 'TIME'))
oneDgate(flowfile, 'RED.B.HLin')


[Package cyanoFilter version 1.1.1 Index]