set_gating_params: Define polygons for population gating.

View source: R/core-functions.R

set_gating_paramsR Documentation

Define polygons for population gating.

Description

Define polygons for population gating.

Usage

set_gating_params(fcs, popname, para.x, para.y, poly.log = NULL)

Arguments

fcs

data frame from read.influx(). Must contains a 'file' column to get previous gating parameters

popname

Population name.

para.x

Channel to use as x axis.

para.y

Channel to use as y axis.

poly.log

Named list of gating polygon definitions. If a definition for popname already exists it will be updated. If it doesn't exist it will be appended to the end to the list. If poly.log is NULL a new list will be created.

Value

Version of poly.log with a new polygon defintion for popname.

Examples

## Not run: 
poly.log <- set.gating.params(opp, "beads", "fsc_small", "pe")
poly.log <- set.gating.params(opp, "prochloro", "fsc_small", "chl_small",
                              poly.log)

## End(Not run)

fribalet/FCSplankton documentation built on Oct. 11, 2024, 7:06 a.m.