getChannel: returns the channel with more than one peak present. It...

Description Usage Arguments Value

View source: R/getChannels.R

Description

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

Usage

1
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)


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