flAdd: Adds one row (i.e. one density) to an existing DensityData...

Description Usage Arguments Value Examples

Description

Adds one row (i.e. one density) to an existing DensityData object.

Usage

1
2
flAdd(obj, fcs, population, channelIdx, parentDensX, parentDensY,
  gate.low = NaN, gate.high = NaN)

Arguments

obj

The existing DensityData object.

fcs

The fcs file name of the new density.

population

The population of the new density.

channelIdx

The channel index of the new density.

parentDensX

The parent population's density x-values of the gated population.

parentDensY

The parent population's density y-values of the gated population.

gate.low

The lower threshold of the gated channel (optional, default: NaN).

gate.high

The upper threshold of the gated channel (optional, default: NaN).

Value

The supplied DensityData obj, including a new row with the supplied parameters.

Examples

1
2
densdat <- flInit(new('DensityData')) # create empty DensityData object
densdat <- flAdd(densdat, 'mine.fcs', 'CD43+', 1, 1:512, runif(n = 512, min = 1, max = 10), 2, 7) # add one channel density

mlux86/flowLearn documentation built on May 29, 2019, 5:43 a.m.