add.auto.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
 2
 3
 4
 5
 6
 7
 8
 9
10
add.auto.classification(
  popname,
  para.x,
  para.y,
  position,
  gates,
  scale,
  min.pe = NA,
  gates.log = NULL
)

Arguments

popname

Population name.

para.x

Channel to use as x axis.

para.y

Channel to use as y axis.

position

position parameter to FlowDensity

gates

gates parameter to FlowDensity

scale

scale parameter to FlowDensity

min.pe

Only consider partciesl with pe > min.pe

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 FlowDensity func call parameter set for popname

Examples

1
2
3
4
5
6
7
## Not run: 
gates.log <- add.auto.classification("beads", "fsc_small", "pe",
                                     c(FALSE,TRUE), c(2.0,NA), 0.975)
gates.log <- add.auto.classification("prochloro", "fsc_small", "chl_small",
                                     c(FALSE,TRUE), c(2.0,NA), 0.975, gates.log)

## End(Not run)

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