gate_tail {openCyto} | R Documentation |
Gates the tail of a density using the derivative of a kernel density estimate
gate_tail(fr, channel, filterId = "", num_peaks = 1, ref_peak = 1, strict = TRUE, tol = 0.01, side = "right", min = NULL, max = NULL, bias = 0, ...) tailgate(fr, channel, filterId = "", num_peaks = 1, ref_peak = 1, strict = TRUE, tol = 0.01, side = "right", min = NULL, max = NULL, bias = 0, ...) cytokine(fr, channel, filterId = "", num_peaks = 1, ref_peak = 1, tol = 0.01, side = "right", ...)
fr |
a |
channel |
the channel from which the cytokine gate is constructed |
filterId |
the name of the filter |
num_peaks |
the number of peaks expected to see. This effectively removes any peaks that are artifacts of smoothing |
ref_peak |
After |
strict |
|
tol |
the tolerance value used to construct the cytokine gate from the derivative of the kernel density estimate |
side |
On which side of the density do we want to gate the tail, the
|
min |
a numeric value that sets the lower boundary for data filtering |
max |
a numeric value that sets the upper boundary for data filtering |
bias |
a numeric value that adds a constant to the calculated cutpoint(threshold). Default is 0. |
... |
additional arguments. |
a filterList
containing the gates (cutpoints) for each sample
## Not run: gate <- gate_tail(fr, Channel = "APC-A") # fr is a flowFrame ## End(Not run)