Fit an ellipse (or ellipsoid) gate on the most dense region of the selected channels of a flowFrame object.
fitted_ellipse_gate(object, channels, R=1)
A flowFrame object that will be gated by an automatically fitted ellipse (or ellipsoid) gate.
A vector if indices or short channel names (valued of the \$PnN keywords) of channels that shall be used to fit an ellipse (or ellipsoid) gate. Typically, these would be the indeces or names of the forward and scatter channels in the input flowFrame, which will then be gated by a 2D ellipse gate (since 2 channels were provided). A multidimensional ellipsoid gate is fitted analogically if more than 2 channels are provided. A 1D "ellipsoid" gate (i.e., a range gate) is applied if only a single channel is specified.
An additional scaling factor for the radii of the ellipse/ellipsoid gate.
First, events with negative values in the specified channels are removed.
find_peak function is called on log transformed
values of each of the specified channels. The returned lower and upper
boundaries of each of the channels are used to fit an ellipse/ellipsoid
gate. The radii of this gate are scalled by the value of the provided
R argument. A new flowFrame object with only those events in this gate
A flowFrame object gated by an automatically fitted ellipse or ellipsoid gate created in the specified channels.
Wayne Moore, Faysal El Khettabi, Josef Spidlen
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.