getFlowFrame: extract flowFrame data structure from the given R object

Description Usage Arguments Value Examples

View source: R/getFlowFrame.R

Description

Mainly to get the channel and marker information.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
getFlowFrame(x)

## S3 method for class 'flowSet'
getFlowFrame(x)

## S3 method for class 'ncdfFlowList'
getFlowFrame(x)

## S3 method for class 'GatingSetList'
getFlowFrame(x)

## S3 method for class 'GatingSet'
getFlowFrame(x)

## S3 method for class 'GatingHierarchy'
getFlowFrame(x)

Arguments

x

flowSet or GatingSet/GatingHierarchy

Value

a flowFrame. When x is a ncdfFlowSet or GatingSet that is associated with ncdfFlowSet, the raw event data is not read and an empty flowFrame is returned.

Examples

1
2
3
4
5
6
7
data(GvHD)
fs <- GvHD[1:2]
getFlowFrame(fs)# fs is a flowSet

dataDir <- system.file("extdata",package="flowWorkspaceData")
gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
getFlowFrame(gs)# gs is a GatingSet

ggcyto documentation built on Jan. 15, 2019, 6:01 p.m.