filter: Filter Optimally Positioned Particles from an EVT dataframe

Description Usage Arguments Value Examples

Description

The function normalizes the signals of the two position-sensitive detectors (D1 and D2) by the forward angle light scatter (fsc_small) signal to identify optimally positioned particles (OPP) from an EVT dataframe. Optionally the function outputs a control quality plot for OPP filtration.

Usage

1
filter(events,  width=1, notch=1, origin=NA, do.plot=FALSE)

Arguments

events

event dataframe

origin

correction factor for the stream alignment. When stream is not properly aligned, aligned particles do not scatter light equally on D1 and D2 and must be corrected. By default (NA), the value of the origin is calculated as the difference between the median value of D2 with respect to the median value of D1

width

the width of the gate to the sides of the 1:1 equal detector response defines the allowed error in particle trajectories across the width of the stream.

notch

the correction factor for the sensitivity of FSC with respect to D1 and D2. Scattered light from focused particles is maximal at the forward scatter detector (FSC) and minimal at both position detectors. When the sensitivity of FSC and D1/D2 detectors is adjusted to respond equally to focused calibration particles, the FSC normalized by the signal of both position detectors must be lower than 1.

do.plot

create a plot that showed the different steps for filtering out non-optimally positioned particles

Value

a optimal-position filtered event dataframe

Examples

1
2
3
4
5
evt.file.path <- system.file("extdata","seaflow_cruise","2011_001", "1.evt", 
				package="flowPhyto")
evt <- readSeaflow(evt.file.path)
opp <- filter(evt)
summary(opp)

armbrustlab/flowPhyto documentation built on May 10, 2019, 1:40 p.m.