Comments (7)
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
from cytoml.
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
from cytoml.
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
from cytoml.
from cytoml.
Related Issues (20)
- gs-to-flowjo parse error HOT 3
- gs_cyto_data and gatingset_to_flowjo, or how to update FCS files for flowjo export HOT 1
- try(eval(substitute(subset)), silent = TRUE) in flowjo_to_gatingset causes error when the subset argument is passed by lapply HOT 1
- CytoML Xml File Parsing Issues HOT 8
- Issue Parsing FlowJo (v10.7.2) XML File HOT 3
- Get indices of gated events from a FJ workspace / alternative to flowjo_to_gatingset HOT 5
- gs-to-flowjo Singularity issue HOT 2
- Ellipses coordinates are not correct in Gating Set after flowJo workspace parsing - v2.9.0 HOT 4
- R Session Aborts when calling flowjo_to_gatingset() more than once HOT 3
- gatingset_to_flowjo() fails with unsupported transformation: LIN
- Using FlowJo gating on pre-compensated, pre-transformed FCS files HOT 5
- flowjo_to_gatingset troubleshoot: "unknown tranformation type!transforms:linear" HOT 3
- flowjo_to_gatingset(), colname not found: error HOT 2
- Export populations as dataframe from a FlowJo workspace HOT 2
- extract inverse transform
- flowjo_to_gatingset does not accept data.frame as path HOT 5
- flowCore::read.FCS works but CytoML::flowjo_to_gatingset fails; no valid FCS file HOT 11
- boolean gate error
- Incompatible with Apple Silicon Mac HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cytoml.