summaries-DebrisFilter-method: takes a flowframes, a vector of channels, cluster indicator...

Description Usage Arguments Value Examples

Description

takes a flowframes, a vector of channels, cluster indicator and return desired summaries per cluster

Usage

1
2
## S4 method for signature 'DebrisFilter'
summaries(object, channels = NULL)

Arguments

object

An object of class MarginEvents to be summarised.

channels

channels whose summaries are to be computed

Value

list containing the required summaries

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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'))
cells_nonmargin <- cellMargin(flowframe = flowfile_logtrans, 
Channel = 'SSC.W',
           type = 'estimate', y_toplot = "FSC.HLin")
summaries(cells_nonmargin, 
c("RED.B.HLin", "YEL.B.HLin", "RED.R.HLin"))

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