Learn R Programming

flowWorkspace (version 3.16.0)

getTransformations,GatingHierarchy-method: Return a list of transformations or a transformation in a GatingHierarchy

Description

Return a list of all the transformations or a transformation in a GatingHierarchy

Usage

"getTransformations"(x, ...)

Arguments

x
A GatingHierarchy object
...
other arguments

inverse logical whether to return the inverse transformation function. channel character channel name

Value

lists of functions, with each element of the list representing a transformation applied to a specific channel/parameter of a sample.

Details

Returns a list of the transformations or a transformation in the flowJo workspace. The list is of length L, where L is the number of distinct transformations applied to samples in the flowJoWorkspace. Each element of L is itself a list of length M, where M is the number of parameters that were transformed for a sample or group of samples in a flowJoWorkspace. For example, if a sample has 10 parameters, and 5 are transformed during analysis, using two different sets of transformations, then L will be of length 2, and each element of L will be of length 5. The elements of L represent channel- or parameter-specific transformation functions that map from raw intensity values to channel-space used by flowJo. this method currently is used convert transformation funtion from c++ to R mainly for transforming range info

Examples

Run this code
## Not run: 
# 	#Assume gh is a GatingHierarchy
# 	getTransformations(gh); # return a list transformation functions
#  getTransformations(gh, inverse = TRUE); # return a list inverse transformation functions
#  getTransformations(gh, channel = "<B710-A") # only return the transfromation associated with given channel
# ## End(Not run)

Run the code above in your browser using DataLab