Git Product home page Git Product logo

Comments (8)

mikejiang avatar mikejiang commented on July 29, 2024

diva_to_gatingset function has an argument worksheet , can be set to either "normal" or "global". The latter use the global worksheet as the template, thus doesn't require fcs info.

from cytoml.

upatel2 avatar upatel2 commented on July 29, 2024

@mikejiang Thank you for clarifying that.
I was actually also encountering another issue. I am not sure whether this is due to my XML file or whether it is about errors in my code.

library(flowWorkspace)
library(flowWorkspaceData)
library(CytoML)
workspace <- ('C:/Users/utsav/Documents/Patient4Template.xml')
qw <- open_diva_xml(workspace)
qw
Diva Workspace Version Version 8.0.1
File location: C:/Users/utsav/Documents
File name: Patient4Template.xml
Workspace is open.

Groups in Workspace
Error in names(x) <- value :
'names' attribute [2] must be the same length as the vector [1]

Are you able to please help me find a way through this?

Thank You!

from cytoml.

mikejiang avatar mikejiang commented on July 29, 2024

Please provide a reproducible example for me to troubleshoot

from cytoml.

upatel2 avatar upatel2 commented on July 29, 2024

@mikejiang Hi Mike,

As the file I am working with is for research, I have asked my supervisors if I can send this to you. Should they respond yes, I can email it to you.

Can you please share your email until I wait for their response?

Thank You!

from cytoml.

mikejiang avatar mikejiang commented on July 29, 2024

[email protected]

from cytoml.

mikejiang avatar mikejiang commented on July 29, 2024

sorry it took a while for me to get back to you. Looks like the current diva parser does require the normal worksheet that is associated with some fcs file to be present in order to proceed the global template worksheet parsing.
i.e. it expects something like
image
and yours seem to be the pure template that doesn't have data_filename field.

I am not sure if we have the bandwidth or resource to add this support. The workaround for you is to create some dummy normal worksheet to associate with one fcs in diva software and then re-export the xml so that diva parser will not error out.

from cytoml.

upatel2 avatar upatel2 commented on July 29, 2024

from cytoml.

mikejiang avatar mikejiang commented on July 29, 2024

No. You don't want to manually edit this XML. This file is supposed to be generated and exported from diva software. What you need to do is to use diva software to recreate the analysis by adding both global and normal worksheet the normal worksheet should be associated with a particular fcs file.So that this will get our diva parser working properly. But real gates can be still stored in global worksheet as a template

from cytoml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.