plot_gh: Plot all gates for a given sample of a GatingSet

Description Usage Arguments Value

View source: R/flowR.R

Description

Plot all gates for a given sample of a gating set

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plot_gh(
  gs,
  df = NULL,
  sample = NULL,
  Ncells = NULL,
  selected_subsets = NULL,
  spill = gs@compensation,
  plot_type = "hexagonal",
  plot_args = list(),
  options = list()
)

Arguments

gs

a GatingSet

df

data.frame with columns name and subset containing sample and subset names respectively and columns with plot variables. Ignored if NULL. Otherwise supersedes parameters 'gs', 'sample', 'spill', 'metadata'.

sample

sample names

Ncells

number of cells to sample from the GatingSet

selected_subsets

subset names. if NULL, all gates are drawn.

spill

spillover matrix. If NULL, uncompensated data is used both for gating and plotting.

plot_type

name of the plot type

plot_args

list of plot parameters passed to plot_gs()

options

list of plot format options passed to format_plot()

Value

a list of ggplot objects


VoisinneG/flowR documentation built on June 1, 2021, 6:42 p.m.