PEOFromGatingSet: Build a populationExpressionObj from a GatingSet

Description Usage Arguments Value Examples

View source: R/classes.R

Description

Build a populationExpressionObj from a GatingSet

Usage

1
2
PEOFromGatingSet(gs, annotation = NULL, populations = NULL,
  samplePop = 4000, objId = NULL, mapVar = NULL)

Arguments

gs

- a gatingSet

annotation

- Annotations for each sample, where one column = sampleNames(gs). If NULL, then it will attempt to grab annotation from the phenoData slot of the gatingSet.

populations

- A list of populations (must correspond to populationNames in gs). If NULL, will just set populations with all populations in gatingSet

samplePop

- Number of cells per population to sample. If NULL, returns all cells in population.

objId

- A unique object identifier used to avoid namespace collisions. If NULL, a unique ID will be generated for the populationExpressionObj

Value

populationExpressionObj

Examples

1
2
3
4
gsFile <- system.file("extdata", "gvHDgs", package="flowDashboard")
gs <- load_gs(gsFile)
PEO <- PEOFromGatingSet(gs)
PEO

laderast/flowDashboard documentation built on May 20, 2019, 7:33 p.m.