oneDgate: returns the labels stating the cluster of each row in a...

Description Usage Arguments Value Examples

View source: R/oneDgate.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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')

fomotis/cyanoFilter documentation built on Aug. 1, 2021, 10:58 p.m.