RGLab / flowWorkspace

flowWorkspace
GNU Affero General Public License v3.0
45 stars 21 forks source link

Supporting .wsp flowJo workspaces converted from .wspt files by FlowJo 10.2 #211

Open ptvan opened 7 years ago

ptvan commented 7 years ago

I need to import a .wspt file from FlowJo 10.2. I opened this file in FlowJo 10.1, which threw a "workspace from a newer version of FlowJo" warning,but opened it anyway. I then saved my file as a .wsp file. I then tried to import this converted .wsp:

> openWorkspace("panel_Pilot_sept2016.wsp")
FlowJo Workspace Version  20.0 
File location:  . 
File name:  panel_Pilot_sept2016.wsp 
Workspace is open. 

Groups in Workspace
Error in data.frame(Name = rownames(tbl), Num.Samples = diag(tbl)) : 
  arguments imply differing number of rows: 1, 0

Environment:

> sessionInfo()
R Under development (unstable) (2017-01-15 r71979)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.3 LTS

[...]

other attached packages:
[1] openCyto_1.13.4           flowWorkspace_3.20.4      ncdfFlow_2.20.1          
[4] BH_1.62.0-1               RcppArmadillo_0.7.600.1.0 flowCore_1.40.3          
[7] BiocInstaller_1.24.0     
mikejiang commented 7 years ago

Did you actually exported to wsp or simply rename the original wspt file? Because the latter doesn't do anything.

gfinak commented 7 years ago

Here’s some details from the flowJo website:

  1. Workspace (WSP)

The workspace is the central hub for all activity in FlowJo, and saving as a workspace will save: A list of all the samples added to the Workspace A list of all the groups that have been created All of the analyses, i.e. all gates and statistic nodes that have been added to samples or groups All compensation matrices, either acquisition defined or FlowJo defined. Keywords associated with your data files. All table definitions that you create All layout definitions that you create For more on workspaces, please see our description of the FlowJo Workspace and reconnecting samples to a .wsp file. Note that FlowJo DOES NOT save your FCS files as part of the Workspace. Rather, FlowJo saves the relative path to a set of FCS files and accesses the files, as needed, each time a Workspace is opened.

  1. Template (WSPT)

A template is a snapshot of your analysis without the corresponding FCS files. Templates are very useful for repeated analysis, as the .wspt file saves your group organization (including compensation group), gating tree, and batched analysis and exports from the Table Editor and Layout Editor.

ptvan commented 7 years ago

@mikejiang I re-exported the WSPT as WSP from FlowJo 10.2.