getChannel {cyanoFilter}R Documentation

returns the channel with more than one peak present. It returns NA if there is only one peak present.

Description

returns the channel with more than one peak present. It returns NA if there is only one peak present.

Usage

getChannel(flowfile, ch, ph)

Arguments

flowfile

flowframe after debris are removed.

ch

channel to be checked for multiple peaks.

ph

maximum peak height to be ignored. This allows ignoring of tiny peaks that could affect the gating process.

Value

name of channel with more than one peak

@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')) getChannel(flowfile_logtrans, 'RED.B.HLin', 0.05)


[Package cyanoFilter version 1.0.0 Index]