filterFile: Filter an EVT file and output an Optimally Positioned...

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 file

Usage

1
filterFile(evt.path, width=1, notch=1, slope=NULL, edge=1, map.margin=2, output.path=getCruisePath(evt.path))

Arguments

evt.path

path to the raw EVT file to be filtered.

slope

correction factor for the stream alignment. When stream is not properly aligned, aligned particles do not scatter light equally on D1 and D2 and therefore do not lie onto the 1:1 line on the scatter plot of D2 vs D1. By default, the value of the slope is calculated as the ratio of D2/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.

edge

location of the boundary layer between water/air. Particles located at the boundary layer scatter light that can be detected by the position detectors.

output.path

path to the directory where you wish to output OPP file.

map.margin

margin in latitude/longitude around the map plots.

Value

a seaflow opp evt file and a plot of the filtration process

Examples

1
2
3
4
5
6
7
example.cruise.name <- 'seaflow_cruise'
temp.dir <- '.'
seaflow.path <- system.file("extdata", example.cruise.name, package="flowPhyto")
file.copy(from=seaflow.path, to=temp.dir, recursive=TRUE)

filterFile(paste(temp.dir,'/',example.cruise.name,'/2011_001/1.evt',sep=''), map.margin=.5)
unlink(example.cruise.name, recursive=TRUE)

flowPhyto documentation built on Sept. 12, 2016, 6:18 a.m.