fromFlowCore: Convert a flowCore object to a CellEngine object

View source: R/fromFlowCore.R

fromFlowCoreR Documentation

Convert a flowCore object to a CellEngine object

Description

Creates a CellEngine object from a flowCore object, saving it to CellEngine.

Usage

fromFlowCore(flowCoreObj, experimentId, name = NULL, ...)

Arguments

flowCoreObj

A flowCore object.

experimentId

The ID of the experiment in which to create the object.

name

The name to use for the CellEngine object. If not set, it will default to the identifier of the flowCore object.

...

Other parameters passed to createRectangleGate, createPolygonGate, etc.

Examples

## Not run: 
# Converting a flowCore rectangleGate:
rectGate <- rectangleGate(
  filterId = "Gate 1",
  "FL1-H" = c(0, 12), "FL2-H" = c(0, 12)
)
experimentId <- "5d2f8b4b21fd0676fb3a6a8c"
fromFlowCore(rectGate, experimentId, name = "my gate")
# "my gate" should now exist in the CellEngine experiment.

## End(Not run)

primitybio/cellengine-r-toolkit documentation built on Oct. 19, 2024, 1:17 a.m.