gate_mindensity2.Rd
Analogous to the original openCyto::mindensity(), mindensity2 operates on a standard flowFrame. Its behavior is closely modeled on the original mindensity() whenever possible. However, the underlying peakfinding algorithm (improvedMindensity) behaves significantly differently.
gate_mindensity2( fr, channel, filterId = "", pivot = FALSE, gate_range = NULL, min = NULL, max = NULL, peaks = NULL, ... )
fr  a 

channel  the channel to operate on 
filterId  a name to refer to this filter 
pivot  logical value. If 
gate_range  numeric vector of length 2. If given, this sets the bounds on the gate applied. 
min  a numeric value that sets the lower boundary for data filtering 
max  a numeric value that sets the upper boundary for data filtering 
peaks 

...  Additional arguments for peak detection. 
a rectangleGate
object based on the minimum density cutpoint
if (FALSE) { gate < gate_mindensity2(fr, channel = "APCA") # fr is a flowFrame }