gh_apply_to_cs: Construct a 'GatingSet' using a template

Description Usage Arguments Value

View source: R/GatingSet_Methods.R

Description

This uses a GatingHierarchy as a template to apply to other loaded samples in the form of a cytoset, resulting in a GatingSet. The transformations and gates from the template are applied to all samples. The compensation applied to each of the samples can be controlled via the compensation_source argument.

Usage

1
gh_apply_to_cs(x, cs, swap_cols = FALSE, compensation_source = "sample", ...)

Arguments

x

GatingHierarchy

cs

a cytoset

swap_cols

for internal usage

compensation_source

One of the following options:

  • "sample" – each cytoframe will be compensated with the spillover matrix included in its own FCS

  • "template" – all cytoframes will be compensatied with the spillover matrix of the template GatingHierarchy

  • "none" – no compensation will be applied

...

not currently used

Value

a GatingSet


RGLab/flowWorkspace documentation built on Aug. 1, 2021, 4:29 p.m.