ggcyto's axis_inverse_trans: Usage with GatingSet constructed in R
2
0
Entering edit mode
OT • 0
@ot-9575
Last seen 3.9 years ago
Germany

ggcyto provides the interesting axis_x_inverse_trans and axis_y_inverse_trans functions to allow for a visualization more familiar to FlowJo users.
I am not completely certain, but I assume that this function takes its information from the `axis` attribute stored in the gatingSet (based on the data in this tutorial: https://www.bioconductor.org/help/course-materials/2015/BioC2015/ggcyto.html). Is there a way to automatically create this attribute from transformations applied in R and not imported from a FlowJo workspace, or to apply a transformation directly to a GatingSet? In particular, my workflow involves estimating the logicle transforms for fluorescence channels, applying this transformation via transform() and then instantiating a GatingSet for this transformed data.

I actually hacked together a solution that adjusts the labels of the transformed axis back into the untransformed space and provides logticks, based on a channel and an transformList generated by estimateLogicle, but neither the approach, nor my implementation are elegant by any stretch of the imagination. If there is a more suitable way that I might have missed, I would be glad to learn about it.

flowcore ggcyto • 1.7k views
ADD COMMENT
2
Entering edit mode
Jiang, Mike ★ 1.3k
@jiang-mike-4886
Last seen 3.1 years ago
(Private Address)

GatingSet now support arbitrary transformations.  See https://github.com/RGLab/flowWorkspace/issues/193 for details.

The new feature is available in devel branch of flowWorkspace (3.17.24)

ADD COMMENT
0
Entering edit mode
Jiang, Mike ★ 1.3k
@jiang-mike-4886
Last seen 3.1 years ago
(Private Address)

In order for 'axis_x_inverse_trans' to work, transformations must be stored in GatingSet, which can be done by transforming a GatingSet directly (as you mentioned).  See examples in

help("transform,GatingSet-method")

However as the doc stated, currently only biexponentional transformation (i.e. flowJoTrans()) is supported.  Please write a feature request for adding 'LogicleTransformation' on https://github.com/RGLab/flowWorkspace/issues and we can make it happen.

ADD COMMENT

Login before adding your answer.

Traffic: 967 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6