get_plot_data: Return data used for plotting a GatingSet

Description Usage Arguments Value

View source: R/flowR.R

Description

Return data used for plotting a GatingSet

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_plot_data(
  gs,
  df = NULL,
  sample,
  subset,
  Ncells = NULL,
  spill = NULL,
  metadata = NULL,
  vartype = NULL
)

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

Names of samples from the GatingSet (as returned by pData(gs)$name)

subset

Names of subsets from the GatingSet (as returned by gs_get_pop_paths(gs))

Ncells

number of cells to sample from the GatingSet

spill

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

metadata

a data.frame containing metadata associated to samples.

vartype

named character vector specifying variable type conversion. (either "factor", "integer" or "character") Must have a column name used for mapping.

Value

a data.frame


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