This function plots a pre-defined gate on a sample, using ggplot2 and other necessary packages.
gate.sample.plot(
samp,
gate.data,
gate.marker,
gate.boundary,
scatter.and.channel.label,
control.type,
asp
)Sample identifier.
Matrix containing gate data points.
Vector containing gate marker names.
List containing gate boundary information.
Named vector mapping scatter and channel labels.
Type of control: beads or cells
The AutoSpectral parameter list.
Prepare using get.autospectral.param
Saves the plot as a JPEG file in the specified directory.