gate_from_biplot: From a biplot let the user interactively draw polygons to...

View source: R/subsetting flowsets.R

gate_from_biplotR Documentation

From a biplot let the user interactively draw polygons to create a "Gate" column in the expression data

Description

From a biplot let the user interactively draw polygons to create a "Gate" column in the expression data

Usage

gate_from_biplot(
  matrix,
  x_axis,
  y_axis,
  ...,
  bty = "l",
  pch = 16,
  cex = 0.5,
  alpha = 100,
  sample = NULL
)

Arguments

matrix

A matrix

...

passed to plot

alpha

Transparency value (between 0 and 255, 0 is fully transparent)

Value

A named vector of length nrow(matrix) and names rownames(matrix). Ungated events are set to NA


ebecht/ebmisc documentation built on Sept. 26, 2024, 3:17 p.m.