transform: tranform the flow data asssociated with the GatingSet

Description Usage Arguments Value Examples

Description

The transformation functions are saved in the GatingSet and can be retrieved by getTransformations. Currently only flowJo-type biexponential transformation(either returned by getTransformations or constructed by flowJoTrans) is supported.

Usage

1
2
3
4
5
## S4 method for signature 'GatingSet'
transform(`_data`, translist, ...)

## S4 method for signature 'GatingSetList'
transform(`_data`, ...)

Arguments

_data

GatingSet or GatingSetList

translist

expect a transformList object

...

other arguments passed to 'transform' method for 'ncdfFlowSet'.(e.g. 'ncdfFile')

Value

a GatingSet or GatingSetList object with the underling flow data transformed.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
data(GvHD)
fs <- GvHD[1:2]
gs <- GatingSet(fs)

#construct biexponential transformation function
biexpTrans <- flowJo_biexp_trans(channelRange=4096, maxValue=262144, pos=4.5,neg=0, widthBasis=-10)

#make a transformList object
chnls <- c("FL1-H", "FL2-H")
transList <- transformerList(chnls, biexpTrans)

#add it to GatingSet
gs_trans <- transform(gs, transList)


## End(Not run)

flowWorkspace documentation built on Nov. 17, 2017, 1:47 p.m.