Open malcook opened 3 years ago
As long as fcs file generated conforms to the standard, cytolib should have no problem to parser it. Feel free to report it when it does
Apologies, my question was only poorly stated. I am really most interested in applying a gating strategy developed in FCSExpress under control of R, something akin to what flowWorkspace
enables for flowjo workspaces. So far, I am successful in importing into an environment the .gatingML files (which recent versions of FCSExpress can export). I can identify the imported filter
s and apply them individually to a flowFrame
or flowSet
.
I am now building a GatingSet
and using gs_pop_add
to add to it each imported filter
. In appreciation of your TIP that the standard gatingML mainly focuses on the definition of individual gates in a flat structure, which is really not suitable for representing the gating hierarchy from GatingSet, I am employing a naming convention for the gates to encode the hierarchy (or simple order) of gating (e.g. liveCells.1.0, singleCells.2.1, giving each named gate an index and the index of its parent) and thus how to structure the various calls to gs_pop_add
.
Having done this, when I then recompute
the GatingSet
I (appropriately) get an error
Error in cpp_gating(x@pointer, y, alwaysLoadData, verbose, leaf.bool) :
colname not found: TransformsingleSS02-W.fcs.SS02-W
which makes sense because I have not (yet) learned how to add the transforms present in the gatingML to the GatingSet.
I am having trouble figuring out what my next steps should be. Perhaps examining the source for how the flowJo workspace import will give me the secret sauce I need at this point. But I would be grateful for any worked examples.
I am attaching an example .gatingML (which does not yet adhere to my proposed gate naming convention) and an .fcs file file if it helps you to help me. 21cy147.zip
Thanks
Hi Malcolm, I am wondering if you finally succeeded in importing an FCSExpress gating in R? If so, would you be able to share your code, it would so much helpful! Thanks
Alas I stopped pursuing this line of approach but would be interested in learning of your or anyone else’s successes in such endeavors, or if perhaps the CytoML framework has improved support or documentation for such capabilities.
~ @. From: altrabio @.> Sent: Thursday, December 21, 2023 10:02 AM To: RGLab/CytoML @.> Cc: Cook, Malcolm @.>; Author @.***> Subject: Re: [RGLab/CytoML] FCS Express compatibility (Issue #139)
Hi Malcolm,I am wondering if you finally succeeded in importing an FCSExpress gating in R? If so, would you be able to share your code, it would so much helpful!Thanks—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authore
Hi Malcolm, I am wondering if you finally succeeded in importing an FCSExpress gating in R? If so, would you be able to share your code, it would so much helpful! Thanks
— Reply to this email directly, view it on GitHubhttps://github.com/RGLab/CytoML/issues/139#issuecomment-1866562721, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADWHOXMEQ2R4XUE75UQYTDYKRMQZAVCNFSM5G3NIYNKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWGY2TMMRXGIYQ. You are receiving this because you authored the thread.Message ID: @.**@.>>
hey @mikejiang, just checking whether are there any plans to support FCSExpress layouts in near future?
FCS express doesn't open their format (last time we checked), so no we have no plans to support it.
thank you @gfinak!
Has any testing been performed with .fcs files as generated by FCS Express. Specifically, should load_cytoset_from_fcs work as it does with FloJo .fcs files?