add.manual.classification: Define polygons for manual population gating.

Description Usage Arguments Value Examples

View source: R/gating.R

Description

Define polygons for manual population gating.

Usage

1
add.manual.classification(opp, popname, para.x, para.y, gates.log = NULL)

Arguments

opp

OPP data frame.

popname

Population name.

para.x

Channel to use as x axis.

para.y

Channel to use as y axis.

gates.log

Per population named list of classification parameters. 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 NULL, a new list will be created.

Value

gates.log with a new polygon defintion for popname.

Examples

1
2
3
4
5
6
## Not run: 
gates.log <- add.manual.classification(opp, "beads", "fsc_small", "pe")
gates.log <- add.manual.classification(opp, "prochloro", "fsc_small", "chl_small",
                                       gates.log)

## End(Not run)

armbrustlab/popcycle documentation built on Aug. 8, 2020, 1:08 a.m.